| 
        abstract
        
        
        
        
        void | 
      defineEntityReplacementText(String entityName, String replacementText)
      Set new value for entity replacement text as defined in
 XML 1.0 Section 4.5
 Construction of Internal Entity Replacement Text.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        int | 
      getAttributeCount()
      Returns the number of attributes of the current start tag, or
 -1 if the current event type is not START_TAG
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getAttributeName(int index)
      Returns the local name of the specified attribute
 if namespaces are enabled or just attribute name if namespaces are disabled.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getAttributeNamespace(int index)
      Returns the namespace URI of the attribute
 with the given index (starts from 0).
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getAttributePrefix(int index)
      Returns the prefix of the specified attribute
 Returns null if the element has no prefix.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getAttributeType(int index)
      Returns the type of the specified attribute
 If parser is non-validating it MUST return CDATA.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getAttributeValue(String namespace, String name)
      Returns the attributes value identified by namespace URI and namespace localName.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getAttributeValue(int index)
      Returns the given attributes value.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        int | 
      getColumnNumber()
      Returns the current column number, starting from 1.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        int | 
      getDepth()
      Returns the current depth of the element.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        int | 
      getEventType()
      Returns the type of the current event (START_TAG, END_TAG, TEXT, etc.)
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        boolean | 
      getFeature(String name)
      Returns the current value of the given feature.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getInputEncoding()
      Returns the input encoding if known, null otherwise.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        int | 
      getLineNumber()
      Returns the current line number, starting from 1.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getName()
      For START_TAG or END_TAG events, the (local) name of the current
 element is returned when namespaces are enabled.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getNamespace()
      Returns the namespace URI of the current element.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getNamespace(String prefix)
      Returns the URI corresponding to the given prefix,
 depending on current state of the parser.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        int | 
      getNamespaceCount(int depth)
      Returns the numbers of elements in the namespace stack for the given
 depth.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getNamespacePrefix(int pos)
      Returns the namespace prefix for the given position
 in the namespace stack.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getNamespaceUri(int pos)
      Returns the namespace URI for the given position in the
 namespace stack
 If the position is out of range, an exception is thrown.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getPositionDescription()
      Returns a short text describing the current parser state, including
 the position, a
 description of the current event and the data source if known.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getPrefix()
      Returns the prefix of the current element.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        Object | 
      getProperty(String name)
      Look up the value of a property.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      getText()
      Returns the text content of the current event as String.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        char[] | 
      getTextCharacters(int[] holderForStartAndLength)
      Returns the buffer that contains the text of the current event,
 as well as the start offset and length relevant for the current
 event.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        boolean | 
      isAttributeDefault(int index)
      Returns if the specified attribute was not in input was declared in XML.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        boolean | 
      isEmptyElementTag()
      Returns true if the current event is START_TAG and the tag
 is degenerated
 (e.g. <foobar/>).
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        boolean | 
      isWhitespace()
      Checks whether the current TEXT event contains only whitespace
 characters.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        int | 
      next()
      Get next parsing event - element content will be coalesced and only one
 TEXT event must be returned for whole element content
 (comments and processing instructions will be ignored and entity references
 must be expanded or exception must be thrown if entity reference can not be expanded).
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        int | 
      nextTag()
      Call next() and return event if it is START_TAG or END_TAG
 otherwise throw an exception.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        String | 
      nextText()
      If current event is START_TAG then if next element is TEXT then element content is returned
 or if next event is END_TAG then empty string is returned, otherwise exception is thrown.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        int | 
      nextToken()
      This method works similarly to next() but will expose
 additional event types (COMMENT, CDSECT, DOCDECL, ENTITY_REF, PROCESSING_INSTRUCTION, or
 IGNORABLE_WHITESPACE) if they are available in input.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        void | 
      require(int type, String namespace, String name)
      Test if the current event is of the given type and if the
 namespace and name do match.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        void | 
      setFeature(String name, boolean state)
      Use this call to change the general behaviour of the parser,
 such as namespace processing or doctype declaration handling.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        void | 
      setInput(Reader in)
      Set the input source for parser to the given reader and
 resets the parser.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        void | 
      setInput(InputStream inputStream, String inputEncoding)
      Sets the input stream the parser is going to process.
        
    
 | 
  
  
  
  
    | 
        abstract
        
        
        
        
        void | 
      setProperty(String name, Object value)
      Set the value of a property.
        
    
 |