프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ElementsFlags | |||
HtmlNodeTypeNameComment | string | ||
HtmlNodeTypeNameDocument | string | ||
HtmlNodeTypeNameText | string |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CloseNode | void | ||
GetId | string | ||
GetXmlComment | string | ||
HtmlNode | System | ||
HtmlNode | System | ||
SetId | void | ||
WriteAttribute | void | ||
WriteAttributes | void | ||
WriteAttributes | void |
메소드 | 설명 | |
---|---|---|
AppendChild ( |
Adds the specified node to the end of the list of children of this node.
|
|
AppendChildren ( HtmlAgilityPack.HtmlNodeCollection newChildren ) : void |
Adds the specified node to the end of the list of children of this node.
|
|
CanOverlapElement ( string name ) : bool |
Determines if an element node can be kept overlapped.
|
|
Clone ( ) : |
Creates a duplicate of the node
|
|
CloneNode ( bool deep ) : |
Creates a duplicate of the node.
|
|
CloneNode ( string newName ) : |
Creates a duplicate of the node and changes its name at the same time.
|
|
CloneNode ( string newName, bool deep ) : |
Creates a duplicate of the node and changes its name at the same time.
|
|
CopyFrom ( |
Creates a duplicate of the node and the subtree under it.
|
|
CopyFrom ( |
Creates a duplicate of the node.
|
|
CreateNavigator ( ) : |
Creates a new XPathNavigator object for navigating this HTML node.
|
|
CreateNode ( string html ) : |
Creates an HTML node from a string representing literal HTML.
|
|
GetAttributeValue ( string name, bool def ) : bool |
Helper method to get the value of an attribute of this node. If the attribute is not found, the default value will be returned.
|
|
GetAttributeValue ( string name, int def ) : int |
Helper method to get the value of an attribute of this node. If the attribute is not found, the default value will be returned.
|
|
GetAttributeValue ( string name, string def ) : string |
Helper method to get the value of an attribute of this node. If the attribute is not found, the default value will be returned.
|
|
InsertAfter ( |
Inserts the specified node immediately after the specified reference node.
|
|
InsertBefore ( |
Inserts the specified node immediately before the specified reference node.
|
|
IsCDataElement ( string name ) : bool |
Determines if an element node is a CDATA element node.
|
|
IsClosedElement ( string name ) : bool |
Determines if an element node is closed.
|
|
IsEmptyElement ( string name ) : bool |
Determines if an element node is defined as empty.
|
|
IsOverlappedClosingElement ( string text ) : bool |
Determines if a text corresponds to the closing tag of an node that can be kept overlapped.
|
|
PrependChild ( |
Adds the specified node to the beginning of the list of children of this node.
|
|
PrependChildren ( HtmlAgilityPack.HtmlNodeCollection newChildren ) : void |
Adds the specified node list to the beginning of the list of children of this node.
|
|
RemoveAll ( ) : void |
Removes all the children and/or attributes of the current node.
|
|
RemoveAllChildren ( ) : void |
Removes all the children of the current node.
|
|
RemoveChild ( |
Removes the specified child node.
|
|
RemoveChild ( |
Removes the specified child node.
|
|
ReplaceChild ( |
Replaces the child node oldChild with newChild node.
|
|
SelectNodes ( string xpath ) : HtmlAgilityPack.HtmlNodeCollection |
Selects a list of nodes matching the XPath expression.
|
|
SelectSingleNode ( string xpath ) : |
Selects the first XmlNode that matches the XPath expression.
|
|
SetAttributeValue ( string name, string value ) : HtmlAgilityPack.HtmlAttribute |
Helper method to set the value of an attribute of this node. If the attribute is not found, it will be created automatically.
|
|
WriteContentTo ( ) : string |
Saves all the children of the node to a string.
|
|
WriteContentTo ( |
Saves all the children of the node to the specified TextWriter.
|
|
WriteTo ( ) : string |
Saves the current node to a string.
|
|
WriteTo ( |
Saves the current node to the specified TextWriter.
|
|
WriteTo ( |
Saves the current node to the specified XmlWriter.
|
메소드 | 설명 | |
---|---|---|
CloseNode ( |
||
GetId ( ) : string | ||
GetXmlComment ( HtmlAgilityPack.HtmlCommentNode comment ) : string | ||
HtmlNode ( ) : System | ||
HtmlNode ( HtmlNodeType type, HtmlAgilityPack.HtmlDocument ownerdocument, int index ) : System | ||
SetId ( string id ) : void | ||
WriteAttribute ( |
||
WriteAttributes ( |
||
WriteAttributes ( |
public AppendChild ( |
||
newChild | The node to add. May not be null. | |
리턴 |
public AppendChildren ( HtmlAgilityPack.HtmlNodeCollection newChildren ) : void | ||
newChildren | HtmlAgilityPack.HtmlNodeCollection | The node list to add. May not be null. |
리턴 | void |
public static CanOverlapElement ( string name ) : bool | ||
name | string | The name of the element node to check. May not be null. |
리턴 | bool |
public CloneNode ( bool deep ) : |
||
deep | bool | true to recursively clone the subtree under the specified node; false to clone only the node itself. |
리턴 |
public CloneNode ( string newName ) : |
||
newName | string | The new name of the cloned node. May not be null. |
리턴 |
public CloneNode ( string newName, bool deep ) : |
||
newName | string | The new name of the cloned node. May not be null. |
deep | bool | true to recursively clone the subtree under the specified node; false to clone only the node itself. |
리턴 |
public CopyFrom ( |
||
node | The node to duplicate. May not be null. | |
리턴 | void |
public CopyFrom ( |
||
node | The node to duplicate. May not be null. | |
deep | bool | true to recursively clone the subtree under the specified node, false to clone only the node itself. |
리턴 | void |
public CreateNavigator ( ) : |
||
리턴 |
public static CreateNode ( string html ) : |
||
html | string | The HTML text. |
리턴 |
public GetAttributeValue ( string name, bool def ) : bool | ||
name | string | The name of the attribute to get. May not be null. |
def | bool | The default value to return if not found. |
리턴 | bool |
public GetAttributeValue ( string name, int def ) : int | ||
name | string | The name of the attribute to get. May not be null. |
def | int | The default value to return if not found. |
리턴 | int |
public GetAttributeValue ( string name, string def ) : string | ||
name | string | The name of the attribute to get. May not be null. |
def | string | The default value to return if not found. |
리턴 | string |
public InsertAfter ( |
||
newChild | The node to insert. May not be null. | |
refChild | The node that is the reference node. The newNode is placed after the refNode. | |
리턴 |
public InsertBefore ( |
||
newChild | The node to insert. May not be null. | |
refChild | The node that is the reference node. The newChild is placed before this node. | |
리턴 |
public static IsCDataElement ( string name ) : bool | ||
name | string | The name of the element node to check. May not be null. |
리턴 | bool |
public static IsClosedElement ( string name ) : bool | ||
name | string | The name of the element node to check. May not be null. |
리턴 | bool |
public static IsEmptyElement ( string name ) : bool | ||
name | string | The name of the element node to check. May not be null. |
리턴 | bool |
public static IsOverlappedClosingElement ( string text ) : bool | ||
text | string | The text to check. May not be null. |
리턴 | bool |
public PrependChild ( |
||
newChild | The node to add. May not be null. | |
리턴 |
public PrependChildren ( HtmlAgilityPack.HtmlNodeCollection newChildren ) : void | ||
newChildren | HtmlAgilityPack.HtmlNodeCollection | The node list to add. May not be null. |
리턴 | void |
public RemoveChild ( |
||
oldChild | The node being removed. May not be null. | |
리턴 |
public RemoveChild ( |
||
oldChild | The node being removed. May not be null. | |
keepGrandChildren | bool | true to keep grand children of the node, false otherwise. |
리턴 |
public ReplaceChild ( |
||
newChild | The new node to put in the child list. | |
oldChild | The node being replaced in the list. | |
리턴 |
public SelectNodes ( string xpath ) : HtmlAgilityPack.HtmlNodeCollection | ||
xpath | string | The XPath expression. |
리턴 | HtmlAgilityPack.HtmlNodeCollection |
public SelectSingleNode ( string xpath ) : |
||
xpath | string | The XPath expression. May not be null. |
리턴 |
public SetAttributeValue ( string name, string value ) : HtmlAgilityPack.HtmlAttribute | ||
name | string | The name of the attribute to set. May not be null. |
value | string | The value for the attribute. |
리턴 | HtmlAgilityPack.HtmlAttribute |
public WriteContentTo ( |
||
outText | The TextWriter to which you want to save. | |
리턴 | void |
public WriteTo ( |
||
outText | The TextWriter to which you want to save. | |
리턴 | void |
public WriteTo ( |
||
writer | The XmlWriter to which you want to save. | |
리턴 | void |
public static Hashtable,System.Collections ElementsFlags | ||
리턴 |