|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.CoreDocumentImpl
org.apache.xerces.dom.DocumentImpl
fi.hut.tml.xsmiles.mlfc.xforms.instance.BasicInstanceDocumentImpl
| Field Summary | |
protected java.util.Vector |
errors
forces revalidation of the whole doc (uses normalizeDocument) this is called in insert / delete / submit DOM node addition & deletion |
static java.lang.String |
GRAMMAR_POOL
Property identifier: grammar pool. |
protected InstanceElement |
instanceElement
my instance element in the UI DOM |
protected SchemaPool |
schemaPool
|
protected boolean |
submissionOn
|
static java.lang.String |
SYMBOL_TABLE
Property identifier: symbol table. |
| Fields inherited from class org.apache.xerces.dom.DocumentImpl |
eventListeners, iterators, mutationEvents, ranges |
| Fields inherited from class org.apache.xerces.dom.CoreDocumentImpl |
actualEncoding, allowGrammarAccess, changes, docElement, docType, encoding, errorChecking, fDocumentURI, identifiers, standalone, userData, version |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
| Fields inherited from class org.apache.xerces.dom.NodeImpl |
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE, UNNORMALIZED |
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
BasicInstanceDocumentImpl()
|
|
| Method Summary | |
org.w3c.dom.Node |
cloneNode(boolean deep)
Deep-clone a document, including fixing ownerDoc for the cloned children. |
protected void |
cloneNode(org.apache.xerces.dom.DocumentImpl newdoc)
internal method |
org.w3c.dom.Attr |
createAttribute(java.lang.String name)
|
org.w3c.dom.Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
|
org.w3c.dom.Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String localName)
Xerces-specific constructor. |
org.w3c.dom.Element |
createElement(java.lang.String tag)
|
org.w3c.dom.Element |
createElementNS(java.lang.String ns,
java.lang.String tag)
Create a new element - this method should be the only way to create new elements. |
org.w3c.dom.Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String localpart)
NON-DOM: Xerces-specific constructor. |
org.w3c.dom.Element |
getElementById(java.lang.String id)
this is a crude hack for scripts, because XSmilesDocuments do not implement real id's |
InstanceElement |
getInstanceElement()
get my UI DOM instance element (needed for replace="instance" |
InstanceItem |
getInstanceItem()
get the instance item of this node |
PropertyInheriter |
getPropertyInheriter()
get the property inheriter of this instance node (usually the instance item) |
SchemaPool |
getSchemaPool()
|
void |
setInstanceElement(InstanceElement inst)
set my UI DOM instance element (needed for replace="instance" |
void |
setSchemaPool(SchemaPool pool)
|
java.lang.String |
toString()
|
java.util.Vector |
validateDocument(boolean isSubmission)
|
| Methods inherited from class org.apache.xerces.dom.DocumentImpl |
addEventListener, copyEventListeners, createEvent, createNodeIterator, createNodeIterator, createRange, createTreeWalker, createTreeWalker, dispatchAggregateEvents, dispatchAggregateEvents, dispatchEvent, dispatchEventToSubtree, getEventListeners, getImplementation, removeEventListener, saveEnclosingAttr, setEventListeners |
| Methods inherited from class org.apache.xerces.dom.CoreDocumentImpl |
abort, adoptNode, changed, changes, checkDOMNSErr, checkNamespaceWF, checkQName, clearIdentifiers, clone, cloneNode, createCDATASection, createComment, createDocumentFragment, createDocumentType, createElementDefinition, createEntity, createEntityReference, createNotation, createProcessingInstruction, createTextNode, getActualEncoding, getAsync, getBaseURI, getConfig, getDoctype, getDocumentElement, getDocumentURI, getElementsByTagName, getElementsByTagNameNS, getEncoding, getErrorChecking, getIdentifier, getIdentifiers, getNodeName, getNodeNumber, getNodeNumber, getNodeType, getOwnerDocument, getStandalone, getStrictErrorChecking, getTextContent, getUserData, getUserData, getVersion, importNode, insertBefore, isKidOK, isXMLName, load, loadXML, normalizeDocument, putIdentifier, removeChild, removeIdentifier, renameNode, replaceChild, saveXML, setActualEncoding, setAsync, setDocumentURI, setEncoding, setErrorChecking, setStandalone, setStrictErrorChecking, setTextContent, setUserData, setUserData, setVersion |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, hasChildNodes, isEqualNode, item, normalize, setReadOnly, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, compareDocumentPosition, compareTreePosition, dispatchEvent, getAttributes, getContainer, getFeature, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, hasAttributes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserData, synchronizeData |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Methods inherited from interface fi.hut.tml.xsmiles.mlfc.xforms.instance.InstanceDocument |
setEncoding |
| Methods inherited from interface org.w3c.dom.Document |
createCDATASection, createComment, createDocumentFragment, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getElementsByTagName, getElementsByTagNameNS, getImplementation, importNode |
| Field Detail |
public static final java.lang.String SYMBOL_TABLE
public static final java.lang.String GRAMMAR_POOL
protected InstanceElement instanceElement
protected java.util.Vector errors
protected SchemaPool schemaPool
protected boolean submissionOn
| Constructor Detail |
public BasicInstanceDocumentImpl()
| Method Detail |
public org.w3c.dom.Element createElement(java.lang.String tag)
throws org.w3c.dom.DOMException
createElement in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionpublic org.w3c.dom.Element getElementById(java.lang.String id)
getElementById in interface org.w3c.dom.Document
public org.w3c.dom.Element createElementNS(java.lang.String ns,
java.lang.String tag)
throws org.w3c.dom.DOMException
createElementNS in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionpublic java.lang.String toString()
public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
throws org.w3c.dom.DOMException
createAttributeNS in interface org.w3c.dom.Documentorg.w3c.dom.DOMException
public org.w3c.dom.Attr createAttribute(java.lang.String name)
throws org.w3c.dom.DOMException
createAttribute in interface org.w3c.dom.Documentorg.w3c.dom.DOMExceptionpublic void setSchemaPool(SchemaPool pool)
setSchemaPool in interface InstanceDocumentpublic SchemaPool getSchemaPool()
getSchemaPool in interface InstanceDocumentpublic java.util.Vector validateDocument(boolean isSubmission)
validateDocument in interface InstanceDocument
public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String localpart)
throws org.w3c.dom.DOMException
namespaceURI - The namespace URI of the element to
create.qualifiedName - The qualified name of the element type to
instantiate.
org.w3c.dom.DOMException - INVALID_CHARACTER_ERR: Raised if the specified
name contains an invalid character.
public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName,
java.lang.String localName)
throws org.w3c.dom.DOMException
namespaceURI - The namespace URI of the attribute to
create. When it is null or an empty string,
this method behaves like createAttribute.qualifiedName - The qualified name of the attribute to
instantiate.localName - The local name of the attribute to instantiate.
org.w3c.dom.DOMException - INVALID_CHARACTER_ERR: Raised if the specified
name contains an invalid character.public org.w3c.dom.Node cloneNode(boolean deep)
cloneNode in interface org.w3c.dom.Nodedeep - boolean, iff true replicate children
protected void cloneNode(org.apache.xerces.dom.DocumentImpl newdoc)
public InstanceItem getInstanceItem()
getInstanceItem in interface InstanceNodepublic PropertyInheriter getPropertyInheriter()
InstanceNode
getPropertyInheriter in interface InstanceNodepublic void setInstanceElement(InstanceElement inst)
setInstanceElement in interface InstanceDocumentpublic InstanceElement getInstanceElement()
getInstanceElement in interface InstanceDocument
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||