net.sf.swan.xml.output
Class AttributesResult

java.lang.Object
  |
  +--net.sf.swan.xml.output.Result
        |
        +--net.sf.swan.xml.output.AttributesResult

public class AttributesResult
extends Result

Represents the attributes on an element.


Fields inherited from class net.sf.swan.xml.output.Result
END_OUTPUT, NO_OUTPUT, outputState, parent, START_OUTPUT
 
Constructor Summary
AttributesResult(ElementResult parent)
           
 
Method Summary
 AttributesResult attribute(java.lang.String qName, java.lang.String value)
           
 AttributesResult attribute(java.lang.String namespaceUri, java.lang.String localName, java.lang.String value)
           
 java.lang.String getLocationString()
          Provides an identifying string for the result node.
protected  void output(org.xml.sax.ContentHandler handler, org.xml.sax.ext.LexicalHandler lexicalHandler, boolean emitNamespaceAttrs)
           
 AttributesResult xmlns(java.lang.String prefix, java.lang.String namespaceUri)
           
 
Methods inherited from class net.sf.swan.xml.output.Result
end, startOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesResult

public AttributesResult(ElementResult parent)
Method Detail

attribute

public AttributesResult attribute(java.lang.String qName,
                                  java.lang.String value)
                           throws org.xml.sax.SAXException

attribute

public AttributesResult attribute(java.lang.String namespaceUri,
                                  java.lang.String localName,
                                  java.lang.String value)
                           throws org.xml.sax.SAXException

xmlns

public AttributesResult xmlns(java.lang.String prefix,
                              java.lang.String namespaceUri)
                       throws ResultException

output

protected void output(org.xml.sax.ContentHandler handler,
                      org.xml.sax.ext.LexicalHandler lexicalHandler,
                      boolean emitNamespaceAttrs)
               throws java.io.IOException,
                      org.xml.sax.SAXException
Overrides:
output in class Result

getLocationString

public java.lang.String getLocationString()
Description copied from class: Result
Provides an identifying string for the result node.
Overrides:
getLocationString in class Result