org.pasoa.query.dom
Class QStructureDocument
java.lang.Object
org.pasoa.dommap.SimpleNode
org.pasoa.dommap.SimpleDocument
org.pasoa.dommap.MappedDocument
org.pasoa.query.dom.QStructureActivityDocument
org.pasoa.query.dom.QStructureDocument
- All Implemented Interfaces:
- Document, Node
- public class QStructureDocument
- extends QStructureActivityDocument
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Method Summary |
String |
getAttribute(String name)
|
Attr |
getAttributeNode(String name)
|
String |
getAttributeNS(String namespaceURI,
String localName)
|
protected Node |
getChild(String name,
SimpleNode parent,
int index,
Map context)
|
protected int |
getNumberOfChildren(String name,
Map context)
|
protected String |
getRootElement()
|
TypeInfo |
getSchemaTypeInfo()
|
boolean |
hasAttribute(String name)
|
boolean |
hasAttributeNS(String namespaceURI,
String localName)
|
int |
hashCode()
|
void |
removeAttribute(String name)
|
Attr |
removeAttributeNode(Attr oldAttr)
|
void |
removeAttributeNS(String namespaceURI,
String localName)
|
void |
setAttribute(String name,
String value)
|
Attr |
setAttributeNode(Attr newAttr)
|
void |
setIdAttribute(String name,
boolean isId)
|
void |
setIdAttributeNode(Attr idAttr,
boolean isId)
|
void |
setIdAttributeNS(String namespaceURI,
String localName,
boolean isId)
|
Methods inherited from class org.pasoa.dommap.SimpleDocument |
adoptNode, cloneNode, compareDocumentPosition, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getAttributes, getBaseURI, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getFeature, getImplementation, getInputEncoding, getLocalName, getNamespaceURI, getNodeType, getNodeValue, getOwnerDocument, getPreviousSibling, getStrictErrorChecking, getTextContent, getUserData, getXmlEncoding, getXmlStandalone, getXmlVersion, hasAttributes, importNode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, normalizeDocument, removeChild, renameNode, replaceChild, setDocumentURI, setNodeValue, setPrefix, setStrictErrorChecking, setTextContent, setUserData, setXmlStandalone, setXmlVersion |
Methods inherited from class org.pasoa.dommap.SimpleNode |
addNamespace, appendChild, cloneChildren, cloneNode, equals, getAllNamespaces, getAttributeNodeNS, getChildCount, getChildNodes, getFirstChild, getLastChild, getNamespaceForPrefix, getNextSibling, getNodeName, getParentNode, getPrefix, getPrefixForNamespace, getTagName, hasChildNodes, importInto, incorporateChild, setAttributeNodeNS, setAttributeNS, toString |
QStructureDocument
public QStructureDocument(Retrieval store,
Map namespaces)
throws Exception
- Throws:
Exception
getChild
protected Node getChild(String name,
SimpleNode parent,
int index,
Map context)
throws UnderlyingModelException
- Overrides:
getChild
in class QStructureActivityDocument
- Throws:
UnderlyingModelException
getNumberOfChildren
protected int getNumberOfChildren(String name,
Map context)
- Overrides:
getNumberOfChildren
in class QStructureActivityDocument
getRootElement
protected String getRootElement()
- Overrides:
getRootElement
in class QStructureActivityDocument
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
setIdAttributeNode
public void setIdAttributeNode(Attr idAttr,
boolean isId)
throws DOMException
- Throws:
DOMException
setAttributeNode
public Attr setAttributeNode(Attr newAttr)
throws DOMException
- Throws:
DOMException
removeAttributeNode
public Attr removeAttributeNode(Attr oldAttr)
throws DOMException
- Throws:
DOMException
getAttribute
public String getAttribute(String name)
getAttributeNode
public Attr getAttributeNode(String name)
hasAttribute
public boolean hasAttribute(String name)
removeAttribute
public void removeAttribute(String name)
throws DOMException
- Throws:
DOMException
setIdAttributeNS
public void setIdAttributeNS(String namespaceURI,
String localName,
boolean isId)
throws DOMException
- Throws:
DOMException
setIdAttribute
public void setIdAttribute(String name,
boolean isId)
throws DOMException
- Throws:
DOMException
setAttribute
public void setAttribute(String name,
String value)
throws DOMException
- Throws:
DOMException
getAttributeNS
public String getAttributeNS(String namespaceURI,
String localName)
throws DOMException
- Throws:
DOMException
getSchemaTypeInfo
public TypeInfo getSchemaTypeInfo()
hasAttributeNS
public boolean hasAttributeNS(String namespaceURI,
String localName)
throws DOMException
- Throws:
DOMException
removeAttributeNS
public void removeAttributeNS(String namespaceURI,
String localName)
throws DOMException
- Throws:
DOMException