Example usage for Java com.google.gwt.uibinder.rebind XMLElement fields, constructors, methods, implement or subclass
The text is from its open source code.
String | consumeAttribute(String name, JType type) Consumes the given attribute as a literal or field reference. |
String | consumeBooleanAttribute(String name) Convenience method for parsing the named attribute as a boolean value or reference. |
String | consumeBooleanAttribute(String name, boolean defaultValue) Convenience method for parsing the named attribute as a boolean value or reference. |
Iterable | consumeChildElements() Consumes and returns all child elements. |
Collection | consumeChildElements(Interpreter Consumes and returns all child elements selected by the interpreter. |
String | consumeInnerHtml(Interpreter Consumes all child elements, and returns an HTML interpretation of them. |
String | consumeInnerHtml(PostProcessingInterpreter Refines #consumeInnerHtml(Interpreter) to handle PostProcessingInterpreter. |
String | consumeInnerTextEscapedAsHtmlStringLiteral(Interpreter Consumes all child text nodes, and asserts that this element held only text. |
String[] | consumeRawArrayAttribute(String name) Consumes the named attribute and parses it to an unparsed, unescaped array of Strings. |
String | consumeRawAttribute(String name, String defaultValue) Consumes the given attribute and returns its trimmed value, or the given default value if it was unset. |
String | consumeRawAttribute(String name) Consumes the given attribute and returns its trimmed value, or null if it was unset. |
String | consumeRequiredAttribute(String name, JType... types) Consumes the given required attribute as a literal or field reference. |
String | consumeRequiredIntAttribute(String name) Convenience method for parsing the named required attribute as a integer value or reference. |
String | consumeRequiredRawAttribute(String name) Consumes the named attribute, or dies if it is missing. |
XMLElement | consumeSingleChildElement() Consumes a single child element, ignoring any text nodes and throwing an exception if no child is found, or more than one child element is found. |
String | consumeStringAttribute(String name) Convenience method for parsing the named attribute as a String value or reference. |
XMLAttribute | getAttribute(int i) Get the attribute at the given index. |
XMLAttribute | getAttribute(String name) Get the attribute with the given name. |
int | getAttributeCount() Returns the number of attributes this element has. |
String | getLocalName() Gets this element's local name (sans namespace prefix). |
Location | getLocation() |
String | getNamespaceUri() Gets this element's namespace URI. |
String | getPrefix() |
boolean | hasAttribute(String name) Determines whether the element has a given attribute. |
boolean | hasChildNodes() |
void | setAttribute(String name, String value) |