JavaXT

Element Class

No description available.

Constructors

protected Element( String tagHTML )

Methods

getAttributeValue( String attributeName ) returns String
Returns the value for a given attribute. If no match is found, returns an empty string.
getElementByAttributes( String tagName, String attributeName, String attributeValue ) returns javaxt.html.Element
Returns the first HTML Element with given tag name and attribute. Returns null if an element was not found.
getElementByID( String id ) returns javaxt.html.Element
Returns an HTML Element with given a id. Returns null if the element was not found.
getElementByTagName( String tagName ) returns javaxt.html.Element
Returns the first HTML Element with given tag name. Returns null if an element was not found.
getElements( String tagName, String attributeName, String attributeValue ) returns javaxt.html.Element[]
getElementsByTagName( String tagName ) returns javaxt.html.Element[]
Returns an array of HTML Elements with given tag name.
getImageLinks( ) returns String[]
Returns a list of links to images. The links may include relative paths. Use the getAbsolutePath method to resolve the relative paths to a fully qualified url.
getInnerHTML( ) returns String
getName( ) returns String
Returns the element tag/node name.
getOuterHTML( ) returns String
isEndTag( ) returns boolean
isStartTag( ) returns boolean
stripHTMLTags( ) returns String
toString( ) returns String