|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocumentEditVAL
This interface extends the NodeEditVAL
interface with additional methods for document editing. An object implementing this interface must also implement the Document
interface.
See also the Document Object Model (DOM) Level 3 Validation Specification.
Field Summary |
---|
Fields inherited from interface org.w3c.dom.validation.NodeEditVAL |
---|
VAL_FALSE, VAL_INCOMPLETE, VAL_NS_WF, VAL_SCHEMA, VAL_TRUE, VAL_UNKNOWN, VAL_WF |
Method Summary | |
---|---|
short |
getContinuousValidityChecking() An attribute specifying whether the validity of the document is continuously enforced. |
NameList |
getDefinedElements(java.lang.String namespaceURI) Returns list of all element information item names of global declaration, belonging to the specified namespace. |
void |
setContinuousValidityChecking(short continuousValidityChecking) An attribute specifying whether the validity of the document is continuously enforced. |
short |
validateDocument() Validates the document against the schema, e.g., a DTD or an XML Schema or another. |
Methods inherited from interface org.w3c.dom.validation.NodeEditVAL |
---|
canAppendChild, canInsertBefore, canRemoveChild, canReplaceChild, getDefaultValue, getEnumeratedValues, nodeValidity |
Method Detail |
---|
short getContinuousValidityChecking()
true
, the implementation may raise certain exceptions, depending on the situation (see the following). This attribute is false
by default.void setContinuousValidityChecking(short continuousValidityChecking) throws DOMException, ExceptionVAL, DOMException
true
, the implementation may raise certain exceptions, depending on the situation (see the following). This attribute is false
by default.DOMException
- NOT_SUPPORTED_ERR: Raised if the implementation does not support setting this attribute to true
.ExceptionVAL
- NO_SCHEMA_AVAILABLE_ERR: Raised if this attribute is set to true
and a schema is unavailable.DOMException
- VALIDATION_ERR: Raised if an operation makes this document not compliant with the VAL_INCOMPLETE
validity type or the document is invalid, and this attribute is set to true
.NameList getDefinedElements(java.lang.String namespaceURI)
namespaceURI
- namespaceURI
of namespace. For DTDs, this is null
.null
if no schema is available.short validateDocument()
DOMConfiguration
interface, with all errors being SEVERITY_ERROR
as defined in the DOMError
interface.
|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2004 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply.