|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.security.xmlsec.util.NodeReader
oracle.security.xmlsec.util.NodeReaderForSAX
public class NodeReaderForSAX
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.security.xmlsec.util.NodeReader |
|---|
NodeReader.NodeListener |
| Field Summary |
|---|
| Fields inherited from class oracle.security.xmlsec.util.NodeReader |
|---|
CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, PROCESSING_INSTRUCTION, START_DOCUMENT, START_ELEMENT |
| Constructor Summary | |
|---|---|
NodeReaderForSAX() |
|
| Method Summary | |
|---|---|
java.util.Iterator |
getAttributes()Returns all the namespaces and attributes on this START_ELEMENT. |
int |
getEventType()Returns an integer code that indicates the type of the event the cursor is pointing to START_ELEMENT END_ELEMENT PROCESSING_INSTRUCTION CHARACTERS COMMENT START_DOCUMENT END_DOCUMENT |
java.lang.String |
getLocalName()Returns the (local) name of the current event. |
java.lang.String |
getNamespaceURI()If the current event is a START_ELEMENT or END_ELEMENT this method returns the URI of the prefix or the default namespace |
java.lang.String |
getPIData()Get the data section of a processing instruction |
java.lang.String |
getPITarget()Get the target of a processing instruction |
java.lang.String |
getPrefix()Returns the prefix of the current event or null if the event does not have a prefix |
org.xml.sax.ext.DefaultHandler2 |
getSAXHandler() |
char[] |
getText()Returns the current value of the parse event as a character array, this returns the string value of a CHARACTERS event, returns the value of a COMMENT, |
int |
getTextLength() |
int |
getTextStart() |
boolean |
hasNext()Returns true if there are more parsing events and false if there are no more events. |
int |
next()Get next parsing event. |
| Methods inherited from class oracle.security.xmlsec.util.NodeReader |
|---|
addListener, fireConsumeNode, getAncestorXmlAttributes, getNamespaces, getNamespacesForMissingAncestors, getNode, getSortedAttributes, isElementAnOrphan, isElementIncluded, isElementInheritingNamespaces, isUnnecessaryEmptyDefaultNsRequired, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeReaderForSAX()
| Method Detail |
|---|
public org.xml.sax.ext.DefaultHandler2 getSAXHandler()
public boolean hasNext()
throws NodeReaderException
NodeReaderhasNext in class NodeReaderNodeReaderException
public int next()
throws NodeReaderException
NodeReadernext in class NodeReaderNodeReaderExceptionpublic int getEventType()
NodeReadergetEventType in class NodeReaderpublic java.lang.String getLocalName()
NodeReadergetLocalName in class NodeReaderpublic java.lang.String getNamespaceURI()
NodeReadergetNamespaceURI in class NodeReaderpublic java.lang.String getPrefix()
NodeReadergetPrefix in class NodeReaderpublic char[] getText()
NodeReadergetText in class NodeReaderpublic int getTextStart()
getTextStart in class NodeReaderpublic int getTextLength()
getTextLength in class NodeReaderpublic java.lang.String getPIData()
NodeReadergetPIData in class NodeReaderpublic java.lang.String getPITarget()
NodeReadergetPITarget in class NodeReaderpublic java.util.Iterator getAttributes()
NodeReaderAll NodeReaders must implement this. Additionally a node reader may implement the NodeReader.getNamespaces() and NodeReader.getSortedAttributes() methods to return the namespaces and attributes separately.
getAttributes in class NodeReader
|
Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10680-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||