|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CauchoNode
CauchoNode extends the DOM, providing namespace support and input file support.
Application can print the filename and line number where the error occurred.
Field Summary |
---|
Fields inherited from interface org.w3c.dom.Node |
---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary | |
---|---|
boolean |
checkValid()
For testing... |
java.lang.String |
getBaseURI()
Returns the source uri of this node. |
java.lang.String |
getCanonicalName()
Returns the node's canonical name. |
int |
getColumn()
Returns the source column of this node. |
java.lang.String |
getFilename()
Returns the source filename of this node. |
int |
getLine()
Returns the source line of this node. |
java.lang.String |
getLocalName()
|
java.lang.String |
getNamespaceURI()
|
java.lang.String |
getPrefix()
|
java.lang.String |
getTextValue()
Returns the text value of the node |
void |
print(WriteStream os)
Prints the node to a stream |
void |
printHtml(WriteStream os)
Prints the node as html to a stream |
void |
printPretty(WriteStream os)
Pretty-prints the node to a stream |
void |
setLocation(java.lang.String systemId,
java.lang.String filename,
int line,
int column)
Sets the location |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Method Detail |
---|
java.lang.String getNamespaceURI()
getNamespaceURI
in interface org.w3c.dom.Node
java.lang.String getPrefix()
getPrefix
in interface org.w3c.dom.Node
java.lang.String getLocalName()
getLocalName
in interface org.w3c.dom.Node
java.lang.String getCanonicalName()
e.g. for foo:bar:baz, the prefix name might be '{/caucho/1.0}baz'
java.lang.String getTextValue()
java.lang.String getFilename()
java.lang.String getBaseURI()
getBaseURI
in interface org.w3c.dom.Node
int getLine()
int getColumn()
void setLocation(java.lang.String systemId, java.lang.String filename, int line, int column)
void print(WriteStream os) throws java.io.IOException
java.io.IOException
void printPretty(WriteStream os) throws java.io.IOException
java.io.IOException
void printHtml(WriteStream os) throws java.io.IOException
java.io.IOException
boolean checkValid() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |