RingJavafor Ring

org.xml.sax.helpers

10 classes of the module java.xml.

Load them with:

using {
	"org.xml.sax.helpers"
}

All packages

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

MethodRing callJava overloads
addAttributeaddAttribute(name,type,value)void addAttribute(String name, String type, String value)
clearclear()void clear()
getLengthgetLength()int getLength()
getNamegetName(i)String getName(int i)
getTypegetType(i)String getType(int i)
String getType(String name)
getValuegetValue(i)String getValue(int i)
String getValue(String name)
removeAttributeremoveAttribute(name)void removeAttribute(String name)
setAttributeListsetAttributeList(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

MethodRing callJava overloads
addAttributeaddAttribute(uri,localName,qName,type,value)void addAttribute(String uri, String localName, String qName, String type, String value)
clearclear()void clear()
getIndexgetIndex(qName)
getIndex([uri,localName])
getIndex([ :uri = v, :localName = v ])
int getIndex(String qName)
int getIndex(String uri, String localName)
getLengthgetLength()int getLength()
getLocalNamegetLocalName(index)String getLocalName(int index)
getQNamegetQName(index)String getQName(int index)
getTypegetType(qName)
getType([uri,localName])
getType([ :uri = v, :localName = v ])
String getType(String qName)
String getType(int index)
String getType(String uri, String localName)
getURIgetURI(index)String getURI(int index)
getValuegetValue(qName)
getValue([uri,localName])
getValue([ :uri = v, :localName = v ])
String getValue(String qName)
String getValue(int index)
String getValue(String uri, String localName)
removeAttributeremoveAttribute(index)void removeAttribute(int index)
setAttributesetAttribute(index,uri,localName,qName,type,value)void setAttribute(int index, String uri, String localName, String qName, String type, String value)
setAttributessetAttributes(atts)void setAttributes(Attributes atts)
setLocalNamesetLocalName(index,localName)void setLocalName(int index, String localName)
setQNamesetQName(index,qName)void setQName(int index, String qName)
setTypesetType(index,type)void setType(int index, String type)
setURIsetURI(index,uri)void setURI(int index, String uri)
setValuesetValue(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

MethodRing callJava overloads
characterscharacters(ch,start,length)void characters(char[] ch, int start, int length)
declarationdeclaration(version,encoding,standalone)void declaration(String version, String encoding, String standalone)
endDocumentendDocument()void endDocument()
endElementendElement(uri,localName,qName)void endElement(String uri, String localName, String qName)
endPrefixMappingendPrefixMapping(prefix)void endPrefixMapping(String prefix)
errorerror(e)void error(SAXParseException e)
fatalErrorfatalError(e)void fatalError(SAXParseException e)
ignorableWhitespaceignorableWhitespace(ch,start,length)void ignorableWhitespace(char[] ch, int start, int length)
notationDeclnotationDecl(name,publicId,systemId)void notationDecl(String name, String publicId, String systemId)
processingInstructionprocessingInstruction(target,data)void processingInstruction(String target, String data)
resolveEntityresolveEntity(publicId,systemId)InputSource resolveEntity(String publicId, String systemId)
setDocumentLocatorsetDocumentLocator(locator)void setDocumentLocator(Locator locator)
skippedEntityskippedEntity(name)void skippedEntity(String name)
startDocumentstartDocument()void startDocument()
startElementstartElement(uri,localName,qName,attributes)void startElement(String uri, String localName, String qName, Attributes attributes)
startPrefixMappingstartPrefixMapping(prefix,uri)void startPrefixMapping(String prefix, String uri)
unparsedEntityDeclunparsedEntityDecl(name,publicId,systemId,notationName)void unparsedEntityDecl(String name, String publicId, String systemId, String notationName)
warningwarning(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

MethodRing callJava overloads
getColumnNumbergetColumnNumber()int getColumnNumber()
getLineNumbergetLineNumber()int getLineNumber()
getPublicIdgetPublicId()String getPublicId()
getSystemIdgetSystemId()String getSystemId()
setColumnNumbersetColumnNumber(columnNumber)void setColumnNumber(int columnNumber)
setLineNumbersetLineNumber(lineNumber)void setLineNumber(int lineNumber)
setPublicIdsetPublicId(publicId)void setPublicId(String publicId)
setSystemIdsetSystemId(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

NameTypeAccessIn Ring
XMLNSStringconstant · statico.XMLNS
NSDECLStringconstant · statico.NSDECL

Methods

MethodRing callJava overloads
@getPrefixes@getPrefixes(uri)Enumeration getPrefixes(String uri)
declarePrefixdeclarePrefix(prefix,uri)boolean declarePrefix(String prefix, String uri)
getDeclaredPrefixesgetDeclaredPrefixes()Enumeration getDeclaredPrefixes()
getPrefixgetPrefix(uri)String getPrefix(String uri)
getPrefixesgetPrefixes()Enumeration getPrefixes()
getURIgetURI(prefix)String getURI(String prefix)
isNamespaceDeclUrisisNamespaceDeclUris()boolean isNamespaceDeclUris()
popContextpopContext()void popContext()
processNameprocessName(qName,parts,isAttribute)String[] processName(String qName, String[] parts, boolean isAttribute)
pushContextpushContext()void pushContext()
resetreset()void reset()
setNamespaceDeclUrissetNamespaceDeclUris(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

MethodRing callJava overloads
characterscharacters(ch,start,length)void characters(char[] ch, int start, int length)
endDocumentendDocument()void endDocument()
endElementendElement(qName)void endElement(String qName)
getContentHandlergetContentHandler()ContentHandler getContentHandler()
getDTDHandlergetDTDHandler()DTDHandler getDTDHandler()
getEntityResolvergetEntityResolver()EntityResolver getEntityResolver()
getErrorHandlergetErrorHandler()ErrorHandler getErrorHandler()
getFeaturegetFeature(name)boolean getFeature(String name)
getPropertygetProperty(name)Object getProperty(String name)
ignorableWhitespaceignorableWhitespace(ch,start,length)void ignorableWhitespace(char[] ch, int start, int length)
parseparse(systemId)void parse(String systemId)
void parse(InputSource input)
processingInstructionprocessingInstruction(target,data)void processingInstruction(String target, String data)
setContentHandlersetContentHandler(handler)void setContentHandler(ContentHandler handler)
setDocumentLocatorsetDocumentLocator(locator)void setDocumentLocator(Locator locator)
setDTDHandlersetDTDHandler(handler)void setDTDHandler(DTDHandler handler)
setEntityResolversetEntityResolver(resolver)void setEntityResolver(EntityResolver resolver)
setErrorHandlersetErrorHandler(handler)void setErrorHandler(ErrorHandler handler)
setFeaturesetFeature(name,value)void setFeature(String name, boolean value)
setPropertysetProperty(name,value)void setProperty(String name, Object value)
startDocumentstartDocument()void startDocument()
startElementstartElement(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

MethodRing callJava overloads
@makeParser@makeParser(className)static Parser makeParser(String className)
makeParsermakeParser()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

MethodRing callJava overloads
characterscharacters(ch,start,length)void characters(char[] ch, int start, int length)
declarationdeclaration(version,encoding,standalone)void declaration(String version, String encoding, String standalone)
endDocumentendDocument()void endDocument()
endElementendElement(uri,localName,qName)void endElement(String uri, String localName, String qName)
endPrefixMappingendPrefixMapping(prefix)void endPrefixMapping(String prefix)
errorerror(e)void error(SAXParseException e)
fatalErrorfatalError(e)void fatalError(SAXParseException e)
getContentHandlergetContentHandler()ContentHandler getContentHandler()
getDTDHandlergetDTDHandler()DTDHandler getDTDHandler()
getEntityResolvergetEntityResolver()EntityResolver getEntityResolver()
getErrorHandlergetErrorHandler()ErrorHandler getErrorHandler()
getFeaturegetFeature(name)boolean getFeature(String name)
getParentgetParent()XMLReader getParent()
getPropertygetProperty(name)Object getProperty(String name)
ignorableWhitespaceignorableWhitespace(ch,start,length)void ignorableWhitespace(char[] ch, int start, int length)
notationDeclnotationDecl(name,publicId,systemId)void notationDecl(String name, String publicId, String systemId)
parseparse(input)void parse(InputSource input)
void parse(String systemId)
processingInstructionprocessingInstruction(target,data)void processingInstruction(String target, String data)
resolveEntityresolveEntity(publicId,systemId)InputSource resolveEntity(String publicId, String systemId)
setContentHandlersetContentHandler(handler)void setContentHandler(ContentHandler handler)
setDocumentLocatorsetDocumentLocator(locator)void setDocumentLocator(Locator locator)
setDTDHandlersetDTDHandler(handler)void setDTDHandler(DTDHandler handler)
setEntityResolversetEntityResolver(resolver)void setEntityResolver(EntityResolver resolver)
setErrorHandlersetErrorHandler(handler)void setErrorHandler(ErrorHandler handler)
setFeaturesetFeature(name,value)void setFeature(String name, boolean value)
setParentsetParent(parent)void setParent(XMLReader parent)
setPropertysetProperty(name,value)void setProperty(String name, Object value)
skippedEntityskippedEntity(name)void skippedEntity(String name)
startDocumentstartDocument()void startDocument()
startElementstartElement(uri,localName,qName,atts)void startElement(String uri, String localName, String qName, Attributes atts)
startPrefixMappingstartPrefixMapping(prefix,uri)void startPrefixMapping(String prefix, String uri)
unparsedEntityDeclunparsedEntityDecl(name,publicId,systemId,notationName)void unparsedEntityDecl(String name, String publicId, String systemId, String notationName)
warningwarning(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

MethodRing callJava overloads
characterscharacters(ch,start,length)void characters(char[] ch, int start, int length)
declarationdeclaration(version,encoding,standalone)void declaration(String version, String encoding, String standalone)
endDocumentendDocument()void endDocument()
endElementendElement(uri,localName,qName)void endElement(String uri, String localName, String qName)
endPrefixMappingendPrefixMapping(prefix)void endPrefixMapping(String prefix)
ignorableWhitespaceignorableWhitespace(ch,start,length)void ignorableWhitespace(char[] ch, int start, int length)
parseparse(input)void parse(InputSource input)
void parse(String systemId)
processingInstructionprocessingInstruction(target,data)void processingInstruction(String target, String data)
setDocumentHandlersetDocumentHandler(handler)void setDocumentHandler(DocumentHandler handler)
setDocumentLocatorsetDocumentLocator(locator)void setDocumentLocator(Locator locator)
setDTDHandlersetDTDHandler(handler)void setDTDHandler(DTDHandler handler)
setEntityResolversetEntityResolver(resolver)void setEntityResolver(EntityResolver resolver)
setErrorHandlersetErrorHandler(handler)void setErrorHandler(ErrorHandler handler)
setLocalesetLocale(locale)void setLocale(Locale locale)
skippedEntityskippedEntity(name)void skippedEntity(String name)
startDocumentstartDocument()void startDocument()
startElementstartElement(uri,localName,qName,atts)void startElement(String uri, String localName, String qName, Attributes atts)
startPrefixMappingstartPrefixMapping(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

MethodRing callJava overloads
@createXMLReader@createXMLReader(className)static XMLReader createXMLReader(String className)
createXMLReadercreateXMLReader()static XMLReader createXMLReader()

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.