Escolar Documentos
Profissional Documentos
Cultura Documentos
LocatorImpl pushContext
HELPER CLASSES implements org.xml.sax.Locator Start a new Namespace context.
Provide an optional convenience implementation of Locator with void pushContext()
org.xml.sax.helpers.AttributesImpl additional methods as follows.
reset
implements org.xml.sax.Attributes
setColumnNumber
Default implementation of the Attributes interface with the following Reset this Namespace support object for reuse.
additional methods. Set the column number for this locator (1-based). void reset()
void setColumnNumber(int columnNumber)
AttributesImpl org.xml.sax.helpers.ParserAdapter
setLineNumber implements org.xml.sax.DocumentHandler (SAX 1)
Construct a new, empty AttributesImpl object.
Set the line number for this locator (1-based). implements org.xml.sax.XMLReader
AttributesImpl()
Copy an existing Attributes object. void setLineNumber(int lineNumber) Adapt a SAX1 Parser as a SAX2 org.xml.sax.XMLReader.
AttributesImpl(Attributes atts) setPublicId org.xml.sax.helpers.XMLFilterImpl
addAttribute implements org.xml.sax.ContentHandler
Set the public identifier for this locator. implements org.xml.sax.DTDHandler
Add an attribute to the end of the list. void setPublicId(java.lang.String publicId) implements org.xml.sax.EntityResolver
void addAttribute(String uri, setSystemId implements org.xml.sax.ErrorHandler
String localName, String qName, implements org.xml.sax.XMLFilter
String type, String value) Set the system identifier for this locator. implements org.xml.sax.XMLReader
void setSystemId(java.lang.String systemId) Base class for deriving an XML filter.
clear
org.xml.sax.helpers.NamespaceSupport XMLFilterImpl
Clear the attribute list for reuse.
void clear() Encapsulate Namespace logic for use by applications using SAX, or Construct an empty XML filter, with no parent.
internally by SAX drivers. XMLFilterImpl()
removeAttribute
XMLNS Construct an XML filter with the specified parent.
Remove an attribute from the list. XMLFilterImpl(XMLReader parent)
void removeAttribute(int index) The XML Namespace as a constant.
static String XMLNS org.xml.sax.helpers.XMLReaderAdapter
setAttribute implements org.xml.sax.ContentHandler
NamespaceSupport implements org.xml.sax.Parser (SAX 1)
Set an attribute in the list.
void setAttribute(int index, String uri, Create a new Namespace support object. Adapt a SAX2 org.xml.sax.XMLReader as a SAX1 Parser.
String localName, String qName, NamespaceSupport() org.xml.sax.helpers.XMLReaderFactory
String type, String value) declarePrefix Factory for creating an org.xml.sax.XMLReader.
setAttributes
Declare a Namespace prefix. createXMLReader
Copy an entire Attributes object. boolean declarePrefix(String prefix, String uri)
void setAttributes(Attributes atts) Attempt to create an XMLReader from system defaults
getDeclaredPrefixes static XMLReader createXMLReader()
setLocalName Attempt to create an XMLReader from a class name.
Return an enumeration of all prefixes declared in this context.
Set the local name of a specific attribute. java.util.Enumeration getDeclaredPrefixes() static XMLReader createXMLReader(String className)
void setLocalName(int index, String localName) getPrefix EXTENSION INTERFACES
setQName
Return one of the prefixes mapped to a Namespace URI.
Set the qualified name of a specific attribute. String getPrefix(String uri) org.xml.sax.ext.Attributes2
void setQName(int index, String qName) getPrefixes extends org.xml.sax.Attributes
setType SAX2 extension to augment the per-attribute information provided though
Return an enumeration of all prefixes currently declared. org.xml.sax.Attributes
Set the type of a specific attribute. java.util.Enumeration getPrefixes()
void setType(int index, String type) Return an enumeration of all prefixes currently declared for a URI. isSpecified
java.util.Enumeration getPrefixes(String uri) Returns true unless the attribute value was provided by DTD defaulting.
setURI
getURI boolean isSpecified(int attIndex)
Set the Namespace URI of a specific attribute. Returns true unless the attribute value was provided by DTD defaulting.
void setURI(int index, String uri) Look up a prefix and get the currently-mapped Namespace URI. boolean isSpecified(String qName)
String getURI(String prefix)
setValue Returns true unless the attribute value was provided by DTD defaulting.
popContext boolean isSpecified(String namespaceURI,String localName)
Set the value of a specific attribute.
void setValue(int index, String value) Revert to the previous Namespace context. org.xml.sax.ext.DeclHandler
void popContext() SAX2 extension handler for DTD declaration events.
org.xml.sax.helpers.DefaultHandler
implements org.xml.sax.ContentHandler processName attributeDecl
implements org.xml.sax.DTDHandler
implements org.xml.sax.EntityResolver
Process a raw XML 1.0 name. Report an attribute type declaration.
implements org.xml.sax.ErrorHandler
String[] processName(String qName, void attributeDecl(String elementName,
String[] parts, String attributeName,
Default base class for SAX2 event handlers.
boolean isAttribute) String attributeType,
DefaultHandler String attributeMode,
DefaultHandler() String defaultValue)
elementDecl org.xml.sax.ext.Locator2
Report an element type declaration. extends org.xml.sax.Locator
void elementDecl(String name, String model) SAX2 extension to augment the entity information provided though
org.xml.sax.Locator
externalEntityDecl
getEncoding
Report a parsed external entity declaration.
void externalEntityDecl(String name, Returns the name of the character encoding for the entity.
String publicId, String systemId) String getEncoding()
internalEntityDecl getXMLVersion
startDTD setEncoding
Report the start of DTD declarations, if any. Assigns the current value of the encoding property.
void setEncoding(java.lang.String encoding)
deepX Ltd.
void startDTD(String name,
String publicId, String systemId) setXMLVersion Dublin, Ireland
startEntity Assigns the current value of the version property.
Report the beginning of some internal and external XML entities. void setXMLVersion(java.lang.String version) info@deepX.com
void startEntity(String name) http://www.deepX.com/