RingJavafor Ring

org.w3c.dom.ls

11 classes of the module java.xml.

Load them with:

using {
	"org.w3c.dom.ls"
}

All packages

DOMImplementationLS#

interface · org.w3c.dom.ls.DOMImplementationLS

Fields

NameTypeAccessIn Ring
MODE_SYNCHRONOUSshortconstant · statico.MODE_SYNCHRONOUS
MODE_ASYNCHRONOUSshortconstant · statico.MODE_ASYNCHRONOUS

Methods

MethodRing callJava overloads
createLSInputcreateLSInput()LSInput createLSInput()
createLSOutputcreateLSOutput()LSOutput createLSOutput()
createLSParsercreateLSParser(mode,schemaType)LSParser createLSParser(short mode, String schemaType)
createLSSerializercreateLSSerializer()LSSerializer createLSSerializer()

LSException#

class · extends RuntimeException · org.w3c.dom.ls.LSException

Constructors

new LSException(short code, String message)

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

Fields

NameTypeAccessIn Ring
codeshortread, writeo.code o.code = v
PARSE_ERRshortconstant · statico.PARSE_ERR
SERIALIZE_ERRshortconstant · statico.SERIALIZE_ERR

The methods and fields of RuntimeException are inherited.

LSInput#

interface · org.w3c.dom.ls.LSInput

Methods

MethodRing callJava overloads
getBaseURIgetBaseURI()String getBaseURI()
getByteStreamgetByteStream()InputStream getByteStream()
getCertifiedTextgetCertifiedText()boolean getCertifiedText()
getCharacterStreamgetCharacterStream()Reader getCharacterStream()
getEncodinggetEncoding()String getEncoding()
getPublicIdgetPublicId()String getPublicId()
getStringDatagetStringData()String getStringData()
getSystemIdgetSystemId()String getSystemId()
setBaseURIsetBaseURI(baseURI)void setBaseURI(String baseURI)
setByteStreamsetByteStream(byteStream)void setByteStream(InputStream byteStream)
setCertifiedTextsetCertifiedText(certifiedText)void setCertifiedText(boolean certifiedText)
setCharacterStreamsetCharacterStream(characterStream)void setCharacterStream(Reader characterStream)
setEncodingsetEncoding(encoding)void setEncoding(String encoding)
setPublicIdsetPublicId(publicId)void setPublicId(String publicId)
setStringDatasetStringData(stringData)void setStringData(String stringData)
setSystemIdsetSystemId(systemId)void setSystemId(String systemId)

LSLoadEvent#

interface · org.w3c.dom.ls.LSLoadEvent

Extends: Event

Fields

NameTypeAccessIn Ring
CAPTURING_PHASEshortconstant · statico.CAPTURING_PHASE
AT_TARGETshortconstant · statico.AT_TARGET
BUBBLING_PHASEshortconstant · statico.BUBBLING_PHASE

Methods

MethodRing callJava overloads
getBubblesgetBubbles()boolean getBubbles()
getCancelablegetCancelable()boolean getCancelable()
getCurrentTargetgetCurrentTarget()EventTarget getCurrentTarget()
getEventPhasegetEventPhase()short getEventPhase()
getInputgetInput()LSInput getInput()
getNewDocumentgetNewDocument()Document getNewDocument()
getTargetgetTarget()EventTarget getTarget()
getTimeStampgetTimeStamp()long getTimeStamp()
getTypegetType()String getType()
initEventinitEvent(eventTypeArg,canBubbleArg,cancelableArg)void initEvent(String eventTypeArg, boolean canBubbleArg, boolean cancelableArg)
preventDefaultpreventDefault()void preventDefault()
stopPropagationstopPropagation()void stopPropagation()

LSOutput#

interface · org.w3c.dom.ls.LSOutput

Methods

MethodRing callJava overloads
getByteStreamgetByteStream()OutputStream getByteStream()
getCharacterStreamgetCharacterStream()Writer getCharacterStream()
getEncodinggetEncoding()String getEncoding()
getSystemIdgetSystemId()String getSystemId()
setByteStreamsetByteStream(byteStream)void setByteStream(OutputStream byteStream)
setCharacterStreamsetCharacterStream(characterStream)void setCharacterStream(Writer characterStream)
setEncodingsetEncoding(encoding)void setEncoding(String encoding)
setSystemIdsetSystemId(systemId)void setSystemId(String systemId)

LSParser#

interface · org.w3c.dom.ls.LSParser

Fields

NameTypeAccessIn Ring
ACTION_APPEND_AS_CHILDRENshortconstant · statico.ACTION_APPEND_AS_CHILDREN
ACTION_REPLACE_CHILDRENshortconstant · statico.ACTION_REPLACE_CHILDREN
ACTION_INSERT_BEFOREshortconstant · statico.ACTION_INSERT_BEFORE
ACTION_INSERT_AFTERshortconstant · statico.ACTION_INSERT_AFTER
ACTION_REPLACEshortconstant · statico.ACTION_REPLACE

Methods

MethodRing callJava overloads
abortabort()void abort()
getAsyncgetAsync()boolean getAsync()
getBusygetBusy()boolean getBusy()
getDomConfiggetDomConfig()DOMConfiguration getDomConfig()
getFiltergetFilter()LSParserFilter getFilter()
parseparse(input)Document parse(LSInput input)
parseURIparseURI(uri)Document parseURI(String uri)
parseWithContextparseWithContext(input,contextArg,action)Node parseWithContext(LSInput input, Node contextArg, short action)
setFiltersetFilter(filter)void setFilter(LSParserFilter filter)

LSParserFilter#

interface · org.w3c.dom.ls.LSParserFilter

Fields

NameTypeAccessIn Ring
FILTER_ACCEPTshortconstant · statico.FILTER_ACCEPT
FILTER_REJECTshortconstant · statico.FILTER_REJECT
FILTER_SKIPshortconstant · statico.FILTER_SKIP
FILTER_INTERRUPTshortconstant · statico.FILTER_INTERRUPT

Methods

MethodRing callJava overloads
acceptNodeacceptNode(nodeArg)short acceptNode(Node nodeArg)
getWhatToShowgetWhatToShow()int getWhatToShow()
startElementstartElement(elementArg)short startElement(Element elementArg)

LSProgressEvent#

interface · org.w3c.dom.ls.LSProgressEvent

Extends: Event

Fields

NameTypeAccessIn Ring
CAPTURING_PHASEshortconstant · statico.CAPTURING_PHASE
AT_TARGETshortconstant · statico.AT_TARGET
BUBBLING_PHASEshortconstant · statico.BUBBLING_PHASE

Methods

MethodRing callJava overloads
getBubblesgetBubbles()boolean getBubbles()
getCancelablegetCancelable()boolean getCancelable()
getCurrentTargetgetCurrentTarget()EventTarget getCurrentTarget()
getEventPhasegetEventPhase()short getEventPhase()
getInputgetInput()LSInput getInput()
getPositiongetPosition()int getPosition()
getTargetgetTarget()EventTarget getTarget()
getTimeStampgetTimeStamp()long getTimeStamp()
getTotalSizegetTotalSize()int getTotalSize()
getTypegetType()String getType()
initEventinitEvent(eventTypeArg,canBubbleArg,cancelableArg)void initEvent(String eventTypeArg, boolean canBubbleArg, boolean cancelableArg)
preventDefaultpreventDefault()void preventDefault()
stopPropagationstopPropagation()void stopPropagation()

LSResourceResolver#

interface · org.w3c.dom.ls.LSResourceResolver

Methods

MethodRing callJava overloads
resolveResourceresolveResource(type,namespaceURI,publicId,systemId,baseURI)LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)

LSSerializer#

interface · org.w3c.dom.ls.LSSerializer

Methods

MethodRing callJava overloads
getDomConfiggetDomConfig()DOMConfiguration getDomConfig()
getFiltergetFilter()LSSerializerFilter getFilter()
getNewLinegetNewLine()String getNewLine()
setFiltersetFilter(filter)void setFilter(LSSerializerFilter filter)
setNewLinesetNewLine(newLine)void setNewLine(String newLine)
writewrite(nodeArg,destination)boolean write(Node nodeArg, LSOutput destination)
writeToStringwriteToString(nodeArg)String writeToString(Node nodeArg)
writeToURIwriteToURI(nodeArg,uri)boolean writeToURI(Node nodeArg, String uri)

LSSerializerFilter#

interface · org.w3c.dom.ls.LSSerializerFilter

Extends: NodeFilter

Fields

NameTypeAccessIn Ring
FILTER_ACCEPTshortconstant · statico.FILTER_ACCEPT
FILTER_REJECTshortconstant · statico.FILTER_REJECT
FILTER_SKIPshortconstant · statico.FILTER_SKIP
SHOW_ALLintconstant · statico.SHOW_ALL
SHOW_ELEMENTintconstant · statico.SHOW_ELEMENT
SHOW_ATTRIBUTEintconstant · statico.SHOW_ATTRIBUTE
SHOW_TEXTintconstant · statico.SHOW_TEXT
SHOW_CDATA_SECTIONintconstant · statico.SHOW_CDATA_SECTION
SHOW_ENTITY_REFERENCEintconstant · statico.SHOW_ENTITY_REFERENCE
SHOW_ENTITYintconstant · statico.SHOW_ENTITY
SHOW_PROCESSING_INSTRUCTIONintconstant · statico.SHOW_PROCESSING_INSTRUCTION
SHOW_COMMENTintconstant · statico.SHOW_COMMENT
SHOW_DOCUMENTintconstant · statico.SHOW_DOCUMENT
SHOW_DOCUMENT_TYPEintconstant · statico.SHOW_DOCUMENT_TYPE
SHOW_DOCUMENT_FRAGMENTintconstant · statico.SHOW_DOCUMENT_FRAGMENT
SHOW_NOTATIONintconstant · statico.SHOW_NOTATION

Methods

MethodRing callJava overloads
acceptNodeacceptNode(n)short acceptNode(Node n)
getWhatToShowgetWhatToShow()int getWhatToShow()
RingJava - use Java classes and methods from Ring programs.