Deepx Quick Reference Simple Api For Xml

ADVERTISEMENT

org.xml.sax.helpers.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.
Set the column number for this locator (1-based).
additional methods.
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.
implements org.xml.sax.XMLReader
Set the line number for this locator (1-based).
AttributesImpl()
Adapt a SAX1 Parser as a SAX2
.
org.xml.sax.XMLReader
void setLineNumber(int lineNumber)
Copy an existing Attributes object.
org.xml.sax.helpers.XMLFilterImpl
setPublicId
AttributesImpl(Attributes atts)
addAttribute
implements org.xml.sax.ContentHandler
Set the public identifier for this locator.
implements org.xml.sax.DTDHandler
void setPublicId(java.lang.String publicId)
implements org.xml.sax.EntityResolver
Add an attribute to the end of the list.
implements org.xml.sax.ErrorHandler
setSystemId
void addAttribute(String uri,
implements org.xml.sax.XMLFilter
String localName, String qName,
implements org.xml.sax.XMLReader
Set the system identifier for this locator.
String type, String value)
Base class for deriving an XML filter.
void setSystemId(java.lang.String systemId)
clear
org.xml.sax.helpers.NamespaceSupport
XMLFilterImpl
Clear the attribute list for reuse.
Encapsulate Namespace logic for use by applications using SAX, or
Construct an empty XML filter, with no parent.
void clear()
internally by SAX drivers.
XMLFilterImpl()
removeAttribute
Construct an XML filter with the specified parent.
XMLNS
Remove an attribute from the list.
XMLFilterImpl(XMLReader parent)
The XML Namespace as a constant.
void removeAttribute(int index)
org.xml.sax.helpers.XMLReaderAdapter
static String XMLNS
setAttribute
implements org.xml.sax.ContentHandler
NamespaceSupport
implements org.xml.sax.Parser (SAX 1)
Set an attribute in the list.
Adapt a SAX2
as a SAX1 Parser.
org.xml.sax.XMLReader
Create a new Namespace support object.
void setAttribute(int index, String uri,
org.xml.sax.helpers.XMLReaderFactory
NamespaceSupport()
String localName, String qName,
String type, String value)
declarePrefix
Factory for creating an
.
org.xml.sax.XMLReader
setAttributes
createXMLReader
Declare a Namespace prefix.
Copy an entire Attributes object.
boolean declarePrefix(String prefix, String uri)
Attempt to create an XMLReader from system defaults
void setAttributes(Attributes atts)
getDeclaredPrefixes
static XMLReader createXMLReader()
setLocalName
Attempt to create an XMLReader from a class name.
Return an enumeration of all prefixes declared in this context.
static XMLReader createXMLReader(String className)
Set the local name of a specific attribute.
java.util.Enumeration getDeclaredPrefixes()
void setLocalName(int index, String localName)
getPrefix
EXTENSION INTERFACES
setQName
Return one of the prefixes mapped to a Namespace URI.
org.xml.sax.ext.Attributes2
Set the qualified name of a specific attribute.
String getPrefix(String uri)
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()
isSpecified
Return an enumeration of all prefixes currently declared for a URI.
void setType(int index, String type)
java.util.Enumeration getPrefixes(String uri)
setURI
Returns true unless the attribute value was provided by DTD defaulting.
getURI
boolean isSpecified(int attIndex)
Set the Namespace URI of a specific attribute.
Returns true unless the attribute value was provided by DTD defaulting.
Look up a prefix and get the currently-mapped Namespace URI.
void setURI(int index, String 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.
org.xml.sax.ext.DeclHandler
Revert to the previous Namespace context.
void setValue(int index, String value)
void popContext()
org.xml.sax.helpers.DefaultHandler
SAX2 extension handler for DTD declaration events.
processName
attributeDecl
implements org.xml.sax.ContentHandler
implements org.xml.sax.DTDHandler
Process a raw XML 1.0 name.
Report an attribute type declaration.
implements org.xml.sax.EntityResolver
String[] processName(String qName,
implements org.xml.sax.ErrorHandler
void attributeDecl(String elementName,
String[] parts,
String attributeName,
Default base class for SAX2 event handlers.
boolean isAttribute)
String attributeType,
DefaultHandler
String attributeMode,
String defaultValue)
DefaultHandler()

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 2