| java.lang.Object com.caucho.quercus.lib.xml.XmlReader
XmlReader | public class XmlReader (Code) | | |
ATTRIBUTE | final public static int ATTRIBUTE(Code) | | |
CDATA | final public static int CDATA(Code) | | |
COMMENT | final public static int COMMENT(Code) | | |
DEFAULTATTRS | final public static int DEFAULTATTRS(Code) | | |
DOC | final public static int DOC(Code) | | |
DOC_FRAGMENT | final public static int DOC_FRAGMENT(Code) | | |
DOC_TYPE | final public static int DOC_TYPE(Code) | | |
ELEMENT | final public static int ELEMENT(Code) | | |
END_ELEMENT | final public static int END_ELEMENT(Code) | | |
END_ENTITY | final public static int END_ENTITY(Code) | | |
ENTITY | final public static int ENTITY(Code) | | |
ENTITY_REF | final public static int ENTITY_REF(Code) | | |
LOADDTD | final public static int LOADDTD(Code) | | |
NONE | final public static int NONE(Code) | | |
NOTATION | final public static int NOTATION(Code) | | |
PI | final public static int PI(Code) | | |
SIGNIFICANT_WHITESPACE | final public static int SIGNIFICANT_WHITESPACE(Code) | | |
SUBST_ENTITIES | final public static int SUBST_ENTITIES(Code) | | |
TEXT | final public static int TEXT(Code) | | |
VALIDATE | final public static int VALIDATE(Code) | | |
WHITESPACE | final public static int WHITESPACE(Code) | | |
XML_DECLARATION | final public static int XML_DECLARATION(Code) | | |
XmlReader | public XmlReader(String[] string)(Code) | | Default constructor.
XXX: Not completely sure what the passed in string(s) does.
Parameters: string - not used |
close | public BooleanValue close()(Code) | | Closes the reader.
true if success, false otherwise |
getAttributeCount | public Value getAttributeCount()(Code) | | Returns the number of attributes of the current element.
the count if it exists, otherwise null |
getBaseURI | public Value getBaseURI()(Code) | | Returns the base uniform resource locator of the current element.
the URI, otherwise null |
getDepth | public Value getDepth()(Code) | | Returns the depth of the current element.
the depth if it exists, otherwise null |
getHasAttributes | public Value getHasAttributes()(Code) | | Determines whether this element has attributes.
true if this element has attributes, false if not, otherwise null |
getHasValue | public Value getHasValue()(Code) | | Determines whether this element has content.
true if this element has content, false if not, otherwise null |
getIsDefault | public Value getIsDefault()(Code) | | Determines whether this element is default.
true if this element is default, false if not, otherwise null |
getIsEmptyElement | public Value getIsEmptyElement()(Code) | | Determines whether this element is empty.
true if this element is empty, false if not, otherwise null |
getLocalName | public Value getLocalName()(Code) | | Determines whether this element has attributes.
true if this element has attributes, false if not, otherwise null |
getName | public Value getName(Env env)(Code) | | Returns the name of the current element.
the name, otherwise null |
getNamespaceURI | public Value getNamespaceURI()(Code) | | Returns the namespace uniform resource locator of the current element.
the namespace URI, otherwise null |
getNodeType | public Value getNodeType()(Code) | | Returns the node type of the current element.
the node type, otherwise null |
getParserProperty | public BooleanValue getParserProperty(int property)(Code) | | Parameters: property - |
getPrefix | public Value getPrefix()(Code) | | Returns the prefix of the current element.
the prefix, otherwise null |
getValue | public Value getValue()(Code) | | Returns the value of the current element.
the value, otherwise null |
getXmlLang | public Value getXmlLang()(Code) | | Returns the node type of the current element.
the node type, otherwise null |
moveToAttributeNo | public BooleanValue moveToAttributeNo(int index)(Code) | | Parameters: index - |
open | public BooleanValue open(Env env, Path path)(Code) | | Opens a stream using the uniform resource locator.
Parameters: uri - uniform resource locator to open true if success, false otherwise |
read | public BooleanValue read(Env env)(Code) | | Moves the cursor to the next node.
true if success, false otherwise |
setParserProperty | public BooleanValue setParserProperty(int property, boolean value)(Code) | | Parameters: property - Parameters: value - |
|
|