|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GuContentHandler
Receive notification of the logical content of an XML tree. In this context, logical content applies principally to the information available in the data model.
This interface is the main interface that a streaming XML application implements if it needs to be informed of the data model content of a document.
Method Summary | |
---|---|
void |
attribute(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String prefix,
java.lang.String value)
Receive notification of an attribute with a dm:typed-value. |
void |
comment(java.lang.String value)
Receive notification of a comment information item. |
void |
endDocument()
Receive notification of the end of a document. |
void |
endElement()
Receive notification of the end of an element. |
void |
namespace(java.lang.String prefix,
java.lang.String namespaceURI)
Receive notification of an namespace in the style of a lexical attribute. |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
startDocument()
Receive notification of the beginning of a document. |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String prefix)
Receive notification of the beginning of an element. |
void |
text(java.lang.String value)
Receive notification of a text event. |
Methods inherited from interface java.io.Closeable |
---|
close |
Methods inherited from interface java.io.Flushable |
---|
flush |
Method Detail |
---|
void attribute(java.lang.String namespaceURI, java.lang.String localName, java.lang.String prefix, java.lang.String value) throws java.io.IOException
namespaceURI
- The namespace-uri part of the attribute name. Cannot be null
.localName
- The local-name part of the attribute name. Cannot be null
.value
- The dm:typed-value property of the attribute.
java.io.IOException
void comment(java.lang.String value) throws java.io.IOException
value
- The content of the comment. Cannot be null
.
java.io.IOException
void endDocument() throws java.io.IOException
java.io.IOException
void endElement() throws java.io.IOException
java.io.IOException
void namespace(java.lang.String prefix, java.lang.String namespaceURI) throws java.io.IOException
prefix
- The name of the namespace node. Cannot be null
.namespaceURI
- The string value of the namespace node. Cannot be null
.
java.io.IOException
void processingInstruction(java.lang.String target, java.lang.String data) throws java.io.IOException
target
- The processing instruction target. Cannot be null
.data
- The processing instruction data, or null if none was supplied. The data does not include any
whitespace separating it from the target.
java.io.IOException
void startDocument() throws java.io.IOException
java.io.IOException
void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String prefix) throws java.io.IOException
namespaceURI
- The namespace-uri part of the element name. Cannot be null
.localName
- The local-name part of the element name. Cannot be null
.prefix
- The prefix-hint part of the element name.
java.io.IOException
void text(java.lang.String value) throws java.io.IOException
value
- The dm:typed-value property of the text node.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |