RingJavafor Ring

javax.xml.stream.util

4 classes of the module java.xml.

Load them with:

using {
	"javax.xml.stream.util"
}

All packages

EventReaderDelegate#

class · extends Object · javax.xml.stream.util.EventReaderDelegate

Implements: XMLEventReader

Constructors

new EventReaderDelegate()
new EventReaderDelegate(XMLEventReader reader)

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

Methods

MethodRing callJava overloads
@next@next()Object next()
closeclose()void close()
forEachRemainingforEachRemaining(action)void forEachRemaining(Consumer action)
getElementTextgetElementText()String getElementText()
getParentgetParent()XMLEventReader getParent()
getPropertygetProperty(name)Object getProperty(String name)
hasNexthasNext()boolean hasNext()
nextEventnextEvent()XMLEvent nextEvent()
nextTagnextTag()XMLEvent nextTag()
peekpeek()XMLEvent peek()
removeremove()void remove()
setParentsetParent(reader)void setParent(XMLEventReader reader)

The methods and fields of Object are inherited.

StreamReaderDelegate#

class · extends Object · javax.xml.stream.util.StreamReaderDelegate

Implements: XMLStreamReader

Constructors

new StreamReaderDelegate()
new StreamReaderDelegate(XMLStreamReader reader)

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

Fields

NameTypeAccessIn Ring
START_ELEMENTintconstant · statico.START_ELEMENT
END_ELEMENTintconstant · statico.END_ELEMENT
PROCESSING_INSTRUCTIONintconstant · statico.PROCESSING_INSTRUCTION
CHARACTERSintconstant · statico.CHARACTERS
COMMENTintconstant · statico.COMMENT
SPACEintconstant · statico.SPACE
START_DOCUMENTintconstant · statico.START_DOCUMENT
END_DOCUMENTintconstant · statico.END_DOCUMENT
ENTITY_REFERENCEintconstant · statico.ENTITY_REFERENCE
ATTRIBUTEintconstant · statico.ATTRIBUTE
DTDintconstant · statico.DTD
CDATAintconstant · statico.CDATA
NAMESPACEintconstant · statico.NAMESPACE
NOTATION_DECLARATIONintconstant · statico.NOTATION_DECLARATION
ENTITY_DECLARATIONintconstant · statico.ENTITY_DECLARATION

Methods

MethodRing callJava overloads
@getNamespaceURI@getNamespaceURI(index)String getNamespaceURI(int index)
String getNamespaceURI(String prefix)
@getTextCharacters@getTextCharacters([sourceStart,target,targetStart,length])
@getTextCharacters([ :sourceStart = v, :target = v, :targetStart = v, :length = v ])
int getTextCharacters(int sourceStart, char[] target, int targetStart, int length)
@next@next()int next()
closeclose()void close()
getAttributeCountgetAttributeCount()int getAttributeCount()
getAttributeLocalNamegetAttributeLocalName(index)String getAttributeLocalName(int index)
getAttributeNamegetAttributeName(index)QName getAttributeName(int index)
getAttributeNamespacegetAttributeNamespace(index)String getAttributeNamespace(int index)
getAttributePrefixgetAttributePrefix(index)String getAttributePrefix(int index)
getAttributeTypegetAttributeType(index)String getAttributeType(int index)
getAttributeValuegetAttributeValue(index)
getAttributeValue([namespaceUri,localName])
getAttributeValue([ :namespaceUri = v, :localName = v ])
String getAttributeValue(int index)
String getAttributeValue(String namespaceUri, String localName)
getCharacterEncodingSchemegetCharacterEncodingScheme()String getCharacterEncodingScheme()
getElementTextgetElementText()String getElementText()
getEncodinggetEncoding()String getEncoding()
getEventTypegetEventType()int getEventType()
getLocalNamegetLocalName()String getLocalName()
getLocationgetLocation()Location getLocation()
getNamegetName()QName getName()
getNamespaceContextgetNamespaceContext()NamespaceContext getNamespaceContext()
getNamespaceCountgetNamespaceCount()int getNamespaceCount()
getNamespacePrefixgetNamespacePrefix(index)String getNamespacePrefix(int index)
getNamespaceURIgetNamespaceURI()String getNamespaceURI()
getParentgetParent()XMLStreamReader getParent()
getPIDatagetPIData()String getPIData()
getPITargetgetPITarget()String getPITarget()
getPrefixgetPrefix()String getPrefix()
getPropertygetProperty(name)Object getProperty(String name)
getTextgetText()String getText()
getTextCharactersgetTextCharacters()char[] getTextCharacters()
getTextLengthgetTextLength()int getTextLength()
getTextStartgetTextStart()int getTextStart()
getVersiongetVersion()String getVersion()
hasNamehasName()boolean hasName()
hasNexthasNext()boolean hasNext()
hasTexthasText()boolean hasText()
isAttributeSpecifiedisAttributeSpecified(index)boolean isAttributeSpecified(int index)
isCharactersisCharacters()boolean isCharacters()
isEndElementisEndElement()boolean isEndElement()
isStandaloneisStandalone()boolean isStandalone()
isStartElementisStartElement()boolean isStartElement()
isWhiteSpaceisWhiteSpace()boolean isWhiteSpace()
nextTagnextTag()int nextTag()
requirerequire(type,namespaceURI,localName)void require(int type, String namespaceURI, String localName)
setParentsetParent(reader)void setParent(XMLStreamReader reader)
standaloneSetstandaloneSet()boolean standaloneSet()

The methods and fields of Object are inherited.

XMLEventAllocator#

interface · javax.xml.stream.util.XMLEventAllocator

Methods

MethodRing callJava overloads
allocateallocate(reader)
allocate([reader,consumer])
allocate([ :reader = v, :consumer = v ])
XMLEvent allocate(XMLStreamReader reader)
void allocate(XMLStreamReader reader, XMLEventConsumer consumer)
newInstancenewInstance()XMLEventAllocator newInstance()

XMLEventConsumer#

interface · javax.xml.stream.util.XMLEventConsumer

Methods

MethodRing callJava overloads
addadd(event)void add(XMLEvent event)
RingJava - use Java classes and methods from Ring programs.