Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-05


oracle.security.xmlsec.util
Class FilteredNodeReader

java.lang.Object
  extended by oracle.security.xmlsec.util.NodeReader
      extended by oracle.security.xmlsec.util.FilteredNodeReader


public class FilteredNodeReader
extends NodeReader

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
FilteredNodeReader(NodeReader nReader, NodeFilterTransform nodeFilter)
           

 

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
 org.w3c.dom.Node getNode()
          Returns the current node.
 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
 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, 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

FilteredNodeReader

public FilteredNodeReader(NodeReader nReader,
                          NodeFilterTransform nodeFilter)

Method Detail

getAttributes

public java.util.Iterator getAttributes()
Description copied from class: NodeReader
Returns all the namespaces and attributes on this START_ELEMENT.

All NodeReaders must implement this. Additionally a node reader may implement the NodeReader.getNamespaces() and NodeReader.getSortedAttributes() methods to return the namespaces and attributes separately.

Specified by:
getAttributes in class NodeReader

getEventType

public int getEventType()
Description copied from class: NodeReader
Returns an integer code that indicates the type of the event the cursor is pointing to
Specified by:
getEventType in class NodeReader
Returns:

getLocalName

public java.lang.String getLocalName()
Description copied from class: NodeReader
Returns the (local) name of the current event.
Specified by:
getLocalName in class NodeReader

getNamespaceURI

public java.lang.String getNamespaceURI()
Description copied from class: NodeReader
If the current event is a START_ELEMENT or END_ELEMENT this method returns the URI of the prefix or the default namespace
Specified by:
getNamespaceURI in class NodeReader

getPIData

public java.lang.String getPIData()
Description copied from class: NodeReader
Get the data section of a processing instruction
Specified by:
getPIData in class NodeReader

getPITarget

public java.lang.String getPITarget()
Description copied from class: NodeReader
Get the target of a processing instruction
Specified by:
getPITarget in class NodeReader

getPrefix

public java.lang.String getPrefix()
Description copied from class: NodeReader
Returns the prefix of the current event or null if the event does not have a prefix
Specified by:
getPrefix in class NodeReader

getText

public char[] getText()
Description copied from class: NodeReader
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,
Specified by:
getText in class NodeReader
Returns:

getTextLength

public int getTextLength()
Specified by:
getTextLength in class NodeReader

getTextStart

public int getTextStart()
Specified by:
getTextStart in class NodeReader

hasNext

public boolean hasNext()
                throws NodeReaderException
Description copied from class: NodeReader
Returns true if there are more parsing events and false if there are no more events.
Specified by:
hasNext in class NodeReader
Returns:
Throws:
NodeReaderException

getNode

public org.w3c.dom.Node getNode()
Description copied from class: NodeReader
Returns the current node. It is ok for this method to return null, it will do that for a non DOM implementation
Overrides:
getNode in class NodeReader

next

public int next()
         throws NodeReaderException
Description copied from class: NodeReader
Get next parsing event. one of
Specified by:
next in class NodeReader
Returns:
Throws:
NodeReaderException

Skip navigation links

Oracle Fusion Middleware XML Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10680-05


Copyright © 2005, 2013 , Oracle. All rights reserved.