RingJavafor Ring

org.xml.sax

17 classes of the module java.xml.

Load them with:

using {
	"org.xml.sax"
}

All packages

AttributeList#

interface · org.xml.sax.AttributeList

Methods

MethodRing callJava overloads
getLengthgetLength()int getLength()
getNamegetName(i)String getName(int i)
getTypegetType(name)String getType(String name)
String getType(int i)
getValuegetValue(i)String getValue(int i)
String getValue(String name)

DocumentHandler#

interface · org.xml.sax.DocumentHandler

Methods

MethodRing callJava overloads
characterscharacters(ch,start,length)void characters(char[] ch, int start, int length)
endDocumentendDocument()void endDocument()
endElementendElement(name)void endElement(String name)
ignorableWhitespaceignorableWhitespace(ch,start,length)void ignorableWhitespace(char[] ch, int start, int length)
processingInstructionprocessingInstruction(target,data)void processingInstruction(String target, String data)
setDocumentLocatorsetDocumentLocator(locator)void setDocumentLocator(Locator locator)
startDocumentstartDocument()void startDocument()
startElementstartElement(name,atts)void startElement(String name, AttributeList atts)

DTDHandler#

interface · org.xml.sax.DTDHandler

Methods

MethodRing callJava overloads
notationDeclnotationDecl(name,publicId,systemId)void notationDecl(String name, String publicId, String systemId)
unparsedEntityDeclunparsedEntityDecl(name,publicId,systemId,notationName)void unparsedEntityDecl(String name, String publicId, String systemId, String notationName)

EntityResolver#

interface · org.xml.sax.EntityResolver

Methods

MethodRing callJava overloads
resolveEntityresolveEntity(publicId,systemId)InputSource resolveEntity(String publicId, String systemId)

ErrorHandler#

interface · org.xml.sax.ErrorHandler

Methods

MethodRing callJava overloads
errorerror(exception)void error(SAXParseException exception)
fatalErrorfatalError(exception)void fatalError(SAXParseException exception)
warningwarning(exception)void warning(SAXParseException exception)

HandlerBase#

class · extends Object · org.xml.sax.HandlerBase

Implements: EntityResolver, DTDHandler, DocumentHandler, ErrorHandler

Constructors

new HandlerBase()

Ring: new HandlerBase(args) uses the constructor with the fewest parameters (at least one); new HandlerBase makes the object with the constructor without parameters; the others: (new HandlerBase).@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(name)void endElement(String name)
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)
startDocumentstartDocument()void startDocument()
startElementstartElement(name,attributes)void startElement(String name, AttributeList attributes)
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.

InputSource#

class · extends Object · org.xml.sax.InputSource

Constructors

new InputSource()
new InputSource(Reader characterStream)
new InputSource(InputStream byteStream)
new InputSource(String systemId)

Ring: new InputSource(args) uses the constructor with the fewest parameters (at least one); new InputSource makes the object with the constructor without parameters; the others: (new InputSource).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getByteStreamgetByteStream()InputStream getByteStream()
getCharacterStreamgetCharacterStream()Reader getCharacterStream()
getEncodinggetEncoding()String getEncoding()
getPublicIdgetPublicId()String getPublicId()
getSystemIdgetSystemId()String getSystemId()
isEmptyisEmpty()boolean isEmpty()
setByteStreamsetByteStream(byteStream)void setByteStream(InputStream byteStream)
setCharacterStreamsetCharacterStream(characterStream)void setCharacterStream(Reader characterStream)
setEncodingsetEncoding(encoding)void setEncoding(String encoding)
setPublicIdsetPublicId(publicId)void setPublicId(String publicId)
setSystemIdsetSystemId(systemId)void setSystemId(String systemId)

The methods and fields of Object are inherited.

Locator#

interface · org.xml.sax.Locator

Methods

MethodRing callJava overloads
getColumnNumbergetColumnNumber()int getColumnNumber()
getLineNumbergetLineNumber()int getLineNumber()
getPublicIdgetPublicId()String getPublicId()
getSystemIdgetSystemId()String getSystemId()

Parser#

interface · org.xml.sax.Parser

Methods

MethodRing callJava overloads
parseparse(systemId)void parse(String systemId)
void parse(InputSource source)
setDocumentHandlersetDocumentHandler(handler)void setDocumentHandler(DocumentHandler handler)
setDTDHandlersetDTDHandler(handler)void setDTDHandler(DTDHandler handler)
setEntityResolversetEntityResolver(resolver)void setEntityResolver(EntityResolver resolver)
setErrorHandlersetErrorHandler(handler)void setErrorHandler(ErrorHandler handler)
setLocalesetLocale(locale)void setLocale(Locale locale)

SaxAttributes#

interface · org.xml.sax.Attributes

Methods

MethodRing callJava overloads
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(index)
getValue([uri,localName])
getValue([ :uri = v, :localName = v ])
String getValue(int index)
String getValue(String qName)
String getValue(String uri, String localName)

SaxContentHandler#

interface · org.xml.sax.ContentHandler

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)
processingInstructionprocessingInstruction(target,data)void processingInstruction(String target, String data)
setDocumentLocatorsetDocumentLocator(locator)void setDocumentLocator(Locator locator)
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)

SAXException#

class · extends Exception · org.xml.sax.SAXException

Constructors

new SAXException()
new SAXException(Exception e)
new SAXException(String message)
new SAXException(String message, Exception e)

Ring: new SAXException(args) uses the constructor with the fewest parameters (at least one); new SAXException makes the object with the constructor without parameters; the others: (new SAXException).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getExceptiongetException()Exception getException()

The methods and fields of Exception are inherited.

SAXNotRecognizedException#

class · extends SAXException · org.xml.sax.SAXNotRecognizedException

Constructors

new SAXNotRecognizedException()
new SAXNotRecognizedException(String message)

Ring: new SAXNotRecognizedException(args) uses the constructor with the fewest parameters (at least one); new SAXNotRecognizedException makes the object with the constructor without parameters; the others: (new SAXNotRecognizedException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of SAXException are inherited.

SAXNotSupportedException#

class · extends SAXException · org.xml.sax.SAXNotSupportedException

Constructors

new SAXNotSupportedException()
new SAXNotSupportedException(String message)

Ring: new SAXNotSupportedException(args) uses the constructor with the fewest parameters (at least one); new SAXNotSupportedException makes the object with the constructor without parameters; the others: (new SAXNotSupportedException).@New([ :param = value ]) or .@New([v1,v2]).

The methods and fields of SAXException are inherited.

SAXParseException#

class · extends SAXException · org.xml.sax.SAXParseException

Constructors

new SAXParseException(String message, Locator locator)
new SAXParseException(String message, Locator locator, Exception e)
new SAXParseException(String message, String publicId, String systemId, int lineNumber, int columnNumber)
new SAXParseException(String message, String publicId, String systemId, int lineNumber, int columnNumber, Exception e)

Ring: new SAXParseException(args) uses the constructor with the fewest parameters (at least one); new SAXParseException makes the object with the constructor without parameters; the others: (new SAXParseException).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getColumnNumbergetColumnNumber()int getColumnNumber()
getLineNumbergetLineNumber()int getLineNumber()
getPublicIdgetPublicId()String getPublicId()
getSystemIdgetSystemId()String getSystemId()

The methods and fields of SAXException are inherited.

SaxXMLReader#

interface · org.xml.sax.XMLReader

Methods

MethodRing callJava overloads
getContentHandlergetContentHandler()ContentHandler getContentHandler()
getDTDHandlergetDTDHandler()DTDHandler getDTDHandler()
getEntityResolvergetEntityResolver()EntityResolver getEntityResolver()
getErrorHandlergetErrorHandler()ErrorHandler getErrorHandler()
getFeaturegetFeature(name)boolean getFeature(String name)
getPropertygetProperty(name)Object getProperty(String name)
parseparse(systemId)void parse(String systemId)
void parse(InputSource input)
setContentHandlersetContentHandler(handler)void setContentHandler(ContentHandler handler)
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)

XMLFilter#

interface · org.xml.sax.XMLFilter

Extends: SaxXMLReader

Methods

MethodRing callJava overloads
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)
parseparse(systemId)void parse(String systemId)
void parse(InputSource input)
setContentHandlersetContentHandler(handler)void setContentHandler(ContentHandler handler)
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)
RingJava - use Java classes and methods from Ring programs.