org.xml.sax.helpers
10 classes of the module java.xml.
Load them with:
using {
"org.xml.sax.helpers"
}
AttributeListImpl#
class · extends Object · org.xml.sax.helpers.AttributeListImpl
Implements: AttributeList
Constructors
new AttributeListImpl() |
new AttributeListImpl(AttributeList atts) |
Ring: new AttributeListImpl(args) uses the constructor with the fewest parameters (at least one); new AttributeListImpl makes the object with the constructor without parameters; the others: (new AttributeListImpl).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addAttribute | addAttribute(name,type,value) | void addAttribute(String name, String type, String value) |
clear | clear() | void clear() |
getLength | getLength() | int getLength() |
getName | getName(i) | String getName(int i) |
getType | getType(i) | String getType(int i)String getType(String name) |
getValue | getValue(i) | String getValue(int i)String getValue(String name) |
removeAttribute | removeAttribute(name) | void removeAttribute(String name) |
setAttributeList | setAttributeList(atts) | void setAttributeList(AttributeList atts) |
The methods and fields of Object are inherited.
AttributesImpl#
class · extends Object · org.xml.sax.helpers.AttributesImpl
Implements: SaxAttributes
Constructors
new AttributesImpl() |
new AttributesImpl(Attributes atts) |
Ring: new AttributesImpl(args) uses the constructor with the fewest parameters (at least one); new AttributesImpl makes the object with the constructor without parameters; the others: (new AttributesImpl).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addAttribute | addAttribute(uri,localName,qName,type,value) | void addAttribute(String uri, String localName, String qName, String type, String value) |
clear | clear() | void clear() |
getIndex | getIndex(qName)getIndex([uri,localName])getIndex([ :uri = v, :localName = v ]) | int getIndex(String qName)int getIndex(String uri, String localName) |
getLength | getLength() | int getLength() |
getLocalName | getLocalName(index) | String getLocalName(int index) |
getQName | getQName(index) | String getQName(int index) |
getType | getType(qName)getType([uri,localName])getType([ :uri = v, :localName = v ]) | String getType(String qName)String getType(int index)String getType(String uri, String localName) |
getURI | getURI(index) | String getURI(int index) |
getValue | getValue(qName)getValue([uri,localName])getValue([ :uri = v, :localName = v ]) | String getValue(String qName)String getValue(int index)String getValue(String uri, String localName) |
removeAttribute | removeAttribute(index) | void removeAttribute(int index) |
setAttribute | setAttribute(index,uri,localName,qName,type,value) | void setAttribute(int index, String uri, String localName, String qName, String type, String value) |
setAttributes | setAttributes(atts) | void setAttributes(Attributes atts) |
setLocalName | setLocalName(index,localName) | void setLocalName(int index, String localName) |
setQName | setQName(index,qName) | void setQName(int index, String qName) |
setType | setType(index,type) | void setType(int index, String type) |
setURI | setURI(index,uri) | void setURI(int index, String uri) |
setValue | setValue(index,value) | void setValue(int index, String value) |
The methods and fields of Object are inherited.
DefaultHandler#
class · extends Object · org.xml.sax.helpers.DefaultHandler
Implements: EntityResolver, DTDHandler, SaxContentHandler, ErrorHandler
Constructors
new DefaultHandler() |
Ring: new DefaultHandler(args) uses the constructor with the fewest parameters (at least one); new DefaultHandler makes the object with the constructor without parameters; the others: (new DefaultHandler).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
characters | characters(ch,start,length) | void characters(char[] ch, int start, int length) |
declaration | declaration(version,encoding,standalone) | void declaration(String version, String encoding, String standalone) |
endDocument | endDocument() | void endDocument() |
endElement | endElement(uri,localName,qName) | void endElement(String uri, String localName, String qName) |
endPrefixMapping | endPrefixMapping(prefix) | void endPrefixMapping(String prefix) |
error | error(e) | void error(SAXParseException e) |
fatalError | fatalError(e) | void fatalError(SAXParseException e) |
ignorableWhitespace | ignorableWhitespace(ch,start,length) | void ignorableWhitespace(char[] ch, int start, int length) |
notationDecl | notationDecl(name,publicId,systemId) | void notationDecl(String name, String publicId, String systemId) |
processingInstruction | processingInstruction(target,data) | void processingInstruction(String target, String data) |
resolveEntity | resolveEntity(publicId,systemId) | InputSource resolveEntity(String publicId, String systemId) |
setDocumentLocator | setDocumentLocator(locator) | void setDocumentLocator(Locator locator) |
skippedEntity | skippedEntity(name) | void skippedEntity(String name) |
startDocument | startDocument() | void startDocument() |
startElement | startElement(uri,localName,qName,attributes) | void startElement(String uri, String localName, String qName, Attributes attributes) |
startPrefixMapping | startPrefixMapping(prefix,uri) | void startPrefixMapping(String prefix, String uri) |
unparsedEntityDecl | unparsedEntityDecl(name,publicId,systemId,notationName) | void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) |
warning | warning(e) | void warning(SAXParseException e) |
The methods and fields of Object are inherited.
LocatorImpl#
class · extends Object · org.xml.sax.helpers.LocatorImpl
Implements: Locator
Constructors
new LocatorImpl() |
new LocatorImpl(Locator locator) |
Ring: new LocatorImpl(args) uses the constructor with the fewest parameters (at least one); new LocatorImpl makes the object with the constructor without parameters; the others: (new LocatorImpl).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getColumnNumber | getColumnNumber() | int getColumnNumber() |
getLineNumber | getLineNumber() | int getLineNumber() |
getPublicId | getPublicId() | String getPublicId() |
getSystemId | getSystemId() | String getSystemId() |
setColumnNumber | setColumnNumber(columnNumber) | void setColumnNumber(int columnNumber) |
setLineNumber | setLineNumber(lineNumber) | void setLineNumber(int lineNumber) |
setPublicId | setPublicId(publicId) | void setPublicId(String publicId) |
setSystemId | setSystemId(systemId) | void setSystemId(String systemId) |
The methods and fields of Object are inherited.
NamespaceSupport#
class · extends Object · org.xml.sax.helpers.NamespaceSupport
Constructors
new NamespaceSupport() |
Ring: new NamespaceSupport(args) uses the constructor with the fewest parameters (at least one); new NamespaceSupport makes the object with the constructor without parameters; the others: (new NamespaceSupport).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
XMLNS | String | constant · static | o.XMLNS |
NSDECL | String | constant · static | o.NSDECL |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getPrefixes | @getPrefixes(uri) | Enumeration getPrefixes(String uri) |
declarePrefix | declarePrefix(prefix,uri) | boolean declarePrefix(String prefix, String uri) |
getDeclaredPrefixes | getDeclaredPrefixes() | Enumeration getDeclaredPrefixes() |
getPrefix | getPrefix(uri) | String getPrefix(String uri) |
getPrefixes | getPrefixes() | Enumeration getPrefixes() |
getURI | getURI(prefix) | String getURI(String prefix) |
isNamespaceDeclUris | isNamespaceDeclUris() | boolean isNamespaceDeclUris() |
popContext | popContext() | void popContext() |
processName | processName(qName,parts,isAttribute) | String[] processName(String qName, String[] parts, boolean isAttribute) |
pushContext | pushContext() | void pushContext() |
reset | reset() | void reset() |
setNamespaceDeclUris | setNamespaceDeclUris(value) | void setNamespaceDeclUris(boolean value) |
The methods and fields of Object are inherited.
ParserAdapter#
class · extends Object · org.xml.sax.helpers.ParserAdapter
Implements: SaxXMLReader, DocumentHandler
Constructors
new ParserAdapter() |
new ParserAdapter(Parser parser) |
Ring: new ParserAdapter(args) uses the constructor with the fewest parameters (at least one); new ParserAdapter makes the object with the constructor without parameters; the others: (new ParserAdapter).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
characters | characters(ch,start,length) | void characters(char[] ch, int start, int length) |
endDocument | endDocument() | void endDocument() |
endElement | endElement(qName) | void endElement(String qName) |
getContentHandler | getContentHandler() | ContentHandler getContentHandler() |
getDTDHandler | getDTDHandler() | DTDHandler getDTDHandler() |
getEntityResolver | getEntityResolver() | EntityResolver getEntityResolver() |
getErrorHandler | getErrorHandler() | ErrorHandler getErrorHandler() |
getFeature | getFeature(name) | boolean getFeature(String name) |
getProperty | getProperty(name) | Object getProperty(String name) |
ignorableWhitespace | ignorableWhitespace(ch,start,length) | void ignorableWhitespace(char[] ch, int start, int length) |
parse | parse(systemId) | void parse(String systemId)void parse(InputSource input) |
processingInstruction | processingInstruction(target,data) | void processingInstruction(String target, String data) |
setContentHandler | setContentHandler(handler) | void setContentHandler(ContentHandler handler) |
setDocumentLocator | setDocumentLocator(locator) | void setDocumentLocator(Locator locator) |
setDTDHandler | setDTDHandler(handler) | void setDTDHandler(DTDHandler handler) |
setEntityResolver | setEntityResolver(resolver) | void setEntityResolver(EntityResolver resolver) |
setErrorHandler | setErrorHandler(handler) | void setErrorHandler(ErrorHandler handler) |
setFeature | setFeature(name,value) | void setFeature(String name, boolean value) |
setProperty | setProperty(name,value) | void setProperty(String name, Object value) |
startDocument | startDocument() | void startDocument() |
startElement | startElement(qName,qAtts) | void startElement(String qName, AttributeList qAtts) |
The methods and fields of Object are inherited.
ParserFactory#
class · extends Object · org.xml.sax.helpers.ParserFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@makeParser | @makeParser(className) | static Parser makeParser(String className) |
makeParser | makeParser() | static Parser makeParser() |
The methods and fields of Object are inherited.
XMLFilterImpl#
class · extends Object · org.xml.sax.helpers.XMLFilterImpl
Implements: XMLFilter, EntityResolver, DTDHandler, SaxContentHandler, ErrorHandler
Constructors
new XMLFilterImpl() |
new XMLFilterImpl(XMLReader parent) |
Ring: new XMLFilterImpl(args) uses the constructor with the fewest parameters (at least one); new XMLFilterImpl makes the object with the constructor without parameters; the others: (new XMLFilterImpl).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
characters | characters(ch,start,length) | void characters(char[] ch, int start, int length) |
declaration | declaration(version,encoding,standalone) | void declaration(String version, String encoding, String standalone) |
endDocument | endDocument() | void endDocument() |
endElement | endElement(uri,localName,qName) | void endElement(String uri, String localName, String qName) |
endPrefixMapping | endPrefixMapping(prefix) | void endPrefixMapping(String prefix) |
error | error(e) | void error(SAXParseException e) |
fatalError | fatalError(e) | void fatalError(SAXParseException e) |
getContentHandler | getContentHandler() | ContentHandler getContentHandler() |
getDTDHandler | getDTDHandler() | DTDHandler getDTDHandler() |
getEntityResolver | getEntityResolver() | EntityResolver getEntityResolver() |
getErrorHandler | getErrorHandler() | ErrorHandler getErrorHandler() |
getFeature | getFeature(name) | boolean getFeature(String name) |
getParent | getParent() | XMLReader getParent() |
getProperty | getProperty(name) | Object getProperty(String name) |
ignorableWhitespace | ignorableWhitespace(ch,start,length) | void ignorableWhitespace(char[] ch, int start, int length) |
notationDecl | notationDecl(name,publicId,systemId) | void notationDecl(String name, String publicId, String systemId) |
parse | parse(input) | void parse(InputSource input)void parse(String systemId) |
processingInstruction | processingInstruction(target,data) | void processingInstruction(String target, String data) |
resolveEntity | resolveEntity(publicId,systemId) | InputSource resolveEntity(String publicId, String systemId) |
setContentHandler | setContentHandler(handler) | void setContentHandler(ContentHandler handler) |
setDocumentLocator | setDocumentLocator(locator) | void setDocumentLocator(Locator locator) |
setDTDHandler | setDTDHandler(handler) | void setDTDHandler(DTDHandler handler) |
setEntityResolver | setEntityResolver(resolver) | void setEntityResolver(EntityResolver resolver) |
setErrorHandler | setErrorHandler(handler) | void setErrorHandler(ErrorHandler handler) |
setFeature | setFeature(name,value) | void setFeature(String name, boolean value) |
setParent | setParent(parent) | void setParent(XMLReader parent) |
setProperty | setProperty(name,value) | void setProperty(String name, Object value) |
skippedEntity | skippedEntity(name) | void skippedEntity(String name) |
startDocument | startDocument() | void startDocument() |
startElement | startElement(uri,localName,qName,atts) | void startElement(String uri, String localName, String qName, Attributes atts) |
startPrefixMapping | startPrefixMapping(prefix,uri) | void startPrefixMapping(String prefix, String uri) |
unparsedEntityDecl | unparsedEntityDecl(name,publicId,systemId,notationName) | void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) |
warning | warning(e) | void warning(SAXParseException e) |
The methods and fields of Object are inherited.
XMLReaderAdapter#
class · extends Object · org.xml.sax.helpers.XMLReaderAdapter
Implements: Parser, SaxContentHandler
Constructors
new XMLReaderAdapter() |
new XMLReaderAdapter(XMLReader xmlReader) |
Ring: new XMLReaderAdapter(args) uses the constructor with the fewest parameters (at least one); new XMLReaderAdapter makes the object with the constructor without parameters; the others: (new XMLReaderAdapter).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
characters | characters(ch,start,length) | void characters(char[] ch, int start, int length) |
declaration | declaration(version,encoding,standalone) | void declaration(String version, String encoding, String standalone) |
endDocument | endDocument() | void endDocument() |
endElement | endElement(uri,localName,qName) | void endElement(String uri, String localName, String qName) |
endPrefixMapping | endPrefixMapping(prefix) | void endPrefixMapping(String prefix) |
ignorableWhitespace | ignorableWhitespace(ch,start,length) | void ignorableWhitespace(char[] ch, int start, int length) |
parse | parse(input) | void parse(InputSource input)void parse(String systemId) |
processingInstruction | processingInstruction(target,data) | void processingInstruction(String target, String data) |
setDocumentHandler | setDocumentHandler(handler) | void setDocumentHandler(DocumentHandler handler) |
setDocumentLocator | setDocumentLocator(locator) | void setDocumentLocator(Locator locator) |
setDTDHandler | setDTDHandler(handler) | void setDTDHandler(DTDHandler handler) |
setEntityResolver | setEntityResolver(resolver) | void setEntityResolver(EntityResolver resolver) |
setErrorHandler | setErrorHandler(handler) | void setErrorHandler(ErrorHandler handler) |
setLocale | setLocale(locale) | void setLocale(Locale locale) |
skippedEntity | skippedEntity(name) | void skippedEntity(String name) |
startDocument | startDocument() | void startDocument() |
startElement | startElement(uri,localName,qName,atts) | void startElement(String uri, String localName, String qName, Attributes atts) |
startPrefixMapping | startPrefixMapping(prefix,uri) | void startPrefixMapping(String prefix, String uri) |
The methods and fields of Object are inherited.
XMLReaderFactory#
class final · extends Object · org.xml.sax.helpers.XMLReaderFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@createXMLReader | @createXMLReader(className) | static XMLReader createXMLReader(String className) |
createXMLReader | createXMLReader() | static XMLReader createXMLReader() |
The methods and fields of Object are inherited.