Package org.hibernate.tuple
Class ElementWrapper
java.lang.Object
org.hibernate.tuple.ElementWrapper
- All Implemented Interfaces:
Serializable,Cloneable,org.dom4j.Branch,org.dom4j.Element,org.dom4j.Node
Wraps dom4j elements, allowing them to exist in a
non-hierarchical structure.
- See Also:
-
Field Summary
Fields inherited from interface org.dom4j.Node
ANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.dom4j.Visitor visitor) voidadd(org.dom4j.Attribute attribute) voidadd(org.dom4j.CDATA cdata) voidadd(org.dom4j.Comment comment) voidadd(org.dom4j.Element element) voidadd(org.dom4j.Entity entity) voidadd(org.dom4j.Namespace namespace) voidadd(org.dom4j.Node node) voidadd(org.dom4j.ProcessingInstruction processingInstruction) voidadd(org.dom4j.Text text) addAttribute(String attrName, String text) addAttribute(org.dom4j.QName attrName, String text) addComment(String text) addElement(String name) addElement(String name, String text) addElement(org.dom4j.QName qName) addNamespace(String prefix, String uri) addProcessingInstruction(String target, String text) addProcessingInstruction(String target, Map data) voidappendAttributes(org.dom4j.Element element) voidappendContent(org.dom4j.Branch branch) asXML()asXPathResult(org.dom4j.Element element) attribute(int i) attribute(org.dom4j.QName qName) intattributeValue(String name) attributeValue(String name, String defaultValue) attributeValue(org.dom4j.QName qName) attributeValue(org.dom4j.QName qName, String defaultValue) voidclone()content()createCopy(String name) createCopy(org.dom4j.QName qName) createXPath(String xpath) detach()element(org.dom4j.QName qName) elementByID(String id) elementIterator(String name) elementIterator(org.dom4j.QName qName) elements()elements(org.dom4j.QName qName) elementText(String name) elementText(org.dom4j.QName qName) elementTextTrim(String name) elementTextTrim(org.dom4j.QName qName) booleangetData()getName()shortgetPath()getPath(org.dom4j.Element element) getQName()getText()getUniquePath(org.dom4j.Element element) getXPathResult(int i) booleaninthashCode()booleanintindexOf(org.dom4j.Node node) booleanbooleanbooleanbooleannode(int i) intvoidnumberValueOf(String xpath) processingInstruction(String name) processingInstructions(String name) booleanremove(org.dom4j.Attribute attribute) booleanremove(org.dom4j.CDATA cdata) booleanremove(org.dom4j.Comment comment) booleanremove(org.dom4j.Element element) booleanremove(org.dom4j.Entity entity) booleanremove(org.dom4j.Namespace namespace) booleanremove(org.dom4j.Node node) booleanremove(org.dom4j.ProcessingInstruction processingInstruction) booleanremove(org.dom4j.Text text) booleanselectNodes(String xpath) selectNodes(String xpath, String comparison) selectNodes(String xpath, String comparison, boolean removeDups) selectObject(String xpath) selectSingleNode(String xpath) voidsetAttributes(List list) voidsetAttributeValue(String name, String value) Deprecated.voidsetAttributeValue(org.dom4j.QName qName, String value) Deprecated.voidsetContent(List list) voidvoidsetDocument(org.dom4j.Document document) voidvoidsetParent(org.dom4j.Element parent) voidvoidsetQName(org.dom4j.QName qName) voidbooleantoString()void
-
Constructor Details
-
ElementWrapper
-
-
Method Details
-
getElement
-
getQName
- Specified by:
getQNamein interfaceorg.dom4j.Element
-
getQName
- Specified by:
getQNamein interfaceorg.dom4j.Element
-
setQName
- Specified by:
setQNamein interfaceorg.dom4j.Element
-
getNamespace
- Specified by:
getNamespacein interfaceorg.dom4j.Element
-
getNamespaceForPrefix
- Specified by:
getNamespaceForPrefixin interfaceorg.dom4j.Element
-
getNamespaceForURI
- Specified by:
getNamespaceForURIin interfaceorg.dom4j.Element
-
getNamespacesForURI
- Specified by:
getNamespacesForURIin interfaceorg.dom4j.Element
-
getNamespacePrefix
- Specified by:
getNamespacePrefixin interfaceorg.dom4j.Element
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceorg.dom4j.Element
-
getQualifiedName
- Specified by:
getQualifiedNamein interfaceorg.dom4j.Element
-
additionalNamespaces
- Specified by:
additionalNamespacesin interfaceorg.dom4j.Element
-
declaredNamespaces
- Specified by:
declaredNamespacesin interfaceorg.dom4j.Element
-
addAttribute
- Specified by:
addAttributein interfaceorg.dom4j.Element
-
addAttribute
- Specified by:
addAttributein interfaceorg.dom4j.Element
-
addComment
- Specified by:
addCommentin interfaceorg.dom4j.Element
-
addCDATA
- Specified by:
addCDATAin interfaceorg.dom4j.Element
-
addEntity
- Specified by:
addEntityin interfaceorg.dom4j.Element
-
addNamespace
- Specified by:
addNamespacein interfaceorg.dom4j.Element
-
addProcessingInstruction
- Specified by:
addProcessingInstructionin interfaceorg.dom4j.Element
-
addProcessingInstruction
- Specified by:
addProcessingInstructionin interfaceorg.dom4j.Element
-
addText
- Specified by:
addTextin interfaceorg.dom4j.Element
-
add
- Specified by:
addin interfaceorg.dom4j.Element
-
add
- Specified by:
addin interfaceorg.dom4j.Element
-
add
- Specified by:
addin interfaceorg.dom4j.Element
-
add
- Specified by:
addin interfaceorg.dom4j.Element
-
add
- Specified by:
addin interfaceorg.dom4j.Element
-
remove
- Specified by:
removein interfaceorg.dom4j.Element
-
remove
- Specified by:
removein interfaceorg.dom4j.Element
-
remove
- Specified by:
removein interfaceorg.dom4j.Element
-
remove
- Specified by:
removein interfaceorg.dom4j.Element
-
remove
- Specified by:
removein interfaceorg.dom4j.Element
-
supportsParent
public boolean supportsParent()- Specified by:
supportsParentin interfaceorg.dom4j.Node
-
getParent
- Specified by:
getParentin interfaceorg.dom4j.Node
-
setParent
- Specified by:
setParentin interfaceorg.dom4j.Node
-
getDocument
- Specified by:
getDocumentin interfaceorg.dom4j.Node
-
setDocument
- Specified by:
setDocumentin interfaceorg.dom4j.Node
-
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnlyin interfaceorg.dom4j.Node
-
hasContent
public boolean hasContent()- Specified by:
hasContentin interfaceorg.dom4j.Node
-
getName
- Specified by:
getNamein interfaceorg.dom4j.Node
-
setName
- Specified by:
setNamein interfaceorg.dom4j.Node
-
getText
- Specified by:
getTextin interfaceorg.dom4j.Element- Specified by:
getTextin interfaceorg.dom4j.Node
-
setText
- Specified by:
setTextin interfaceorg.dom4j.Node
-
getTextTrim
- Specified by:
getTextTrimin interfaceorg.dom4j.Element
-
getStringValue
- Specified by:
getStringValuein interfaceorg.dom4j.Element- Specified by:
getStringValuein interfaceorg.dom4j.Node
-
getPath
- Specified by:
getPathin interfaceorg.dom4j.Node
-
getPath
- Specified by:
getPathin interfaceorg.dom4j.Node
-
getUniquePath
- Specified by:
getUniquePathin interfaceorg.dom4j.Node
-
getUniquePath
- Specified by:
getUniquePathin interfaceorg.dom4j.Node
-
asXML
- Specified by:
asXMLin interfaceorg.dom4j.Node
-
write
- Specified by:
writein interfaceorg.dom4j.Node- Throws:
IOException
-
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceorg.dom4j.Node
-
getNodeTypeName
- Specified by:
getNodeTypeNamein interfaceorg.dom4j.Node
-
detach
- Specified by:
detachin interfaceorg.dom4j.Node
-
selectNodes
- Specified by:
selectNodesin interfaceorg.dom4j.Node
-
selectObject
- Specified by:
selectObjectin interfaceorg.dom4j.Node
-
selectNodes
- Specified by:
selectNodesin interfaceorg.dom4j.Node
-
selectNodes
- Specified by:
selectNodesin interfaceorg.dom4j.Node
-
selectSingleNode
- Specified by:
selectSingleNodein interfaceorg.dom4j.Node
-
valueOf
- Specified by:
valueOfin interfaceorg.dom4j.Node
-
numberValueOf
- Specified by:
numberValueOfin interfaceorg.dom4j.Node
-
matches
- Specified by:
matchesin interfaceorg.dom4j.Node
-
createXPath
- Specified by:
createXPathin interfaceorg.dom4j.Node- Throws:
org.dom4j.InvalidXPathException
-
asXPathResult
- Specified by:
asXPathResultin interfaceorg.dom4j.Node
-
accept
- Specified by:
acceptin interfaceorg.dom4j.Node
-
clone
- Specified by:
clonein interfaceorg.dom4j.Node- Overrides:
clonein classObject
-
getData
- Specified by:
getDatain interfaceorg.dom4j.Element
-
setData
- Specified by:
setDatain interfaceorg.dom4j.Element
-
attributes
- Specified by:
attributesin interfaceorg.dom4j.Element
-
setAttributes
- Specified by:
setAttributesin interfaceorg.dom4j.Element
-
attributeCount
public int attributeCount()- Specified by:
attributeCountin interfaceorg.dom4j.Element
-
attributeIterator
- Specified by:
attributeIteratorin interfaceorg.dom4j.Element
-
attribute
- Specified by:
attributein interfaceorg.dom4j.Element
-
attribute
- Specified by:
attributein interfaceorg.dom4j.Element
-
attribute
- Specified by:
attributein interfaceorg.dom4j.Element
-
attributeValue
- Specified by:
attributeValuein interfaceorg.dom4j.Element
-
attributeValue
- Specified by:
attributeValuein interfaceorg.dom4j.Element
-
attributeValue
- Specified by:
attributeValuein interfaceorg.dom4j.Element
-
attributeValue
- Specified by:
attributeValuein interfaceorg.dom4j.Element
-
setAttributeValue
Deprecated.- Specified by:
setAttributeValuein interfaceorg.dom4j.Element
-
setAttributeValue
Deprecated.- Specified by:
setAttributeValuein interfaceorg.dom4j.Element
-
element
- Specified by:
elementin interfaceorg.dom4j.Element
-
element
- Specified by:
elementin interfaceorg.dom4j.Element
-
elements
- Specified by:
elementsin interfaceorg.dom4j.Element
-
elements
- Specified by:
elementsin interfaceorg.dom4j.Element
-
elements
- Specified by:
elementsin interfaceorg.dom4j.Element
-
elementIterator
- Specified by:
elementIteratorin interfaceorg.dom4j.Element
-
elementIterator
- Specified by:
elementIteratorin interfaceorg.dom4j.Element
-
elementIterator
- Specified by:
elementIteratorin interfaceorg.dom4j.Element
-
isRootElement
public boolean isRootElement()- Specified by:
isRootElementin interfaceorg.dom4j.Element
-
hasMixedContent
public boolean hasMixedContent()- Specified by:
hasMixedContentin interfaceorg.dom4j.Element
-
isTextOnly
public boolean isTextOnly()- Specified by:
isTextOnlyin interfaceorg.dom4j.Element
-
appendAttributes
- Specified by:
appendAttributesin interfaceorg.dom4j.Element
-
createCopy
- Specified by:
createCopyin interfaceorg.dom4j.Element
-
createCopy
- Specified by:
createCopyin interfaceorg.dom4j.Element
-
createCopy
- Specified by:
createCopyin interfaceorg.dom4j.Element
-
elementText
- Specified by:
elementTextin interfaceorg.dom4j.Element
-
elementText
- Specified by:
elementTextin interfaceorg.dom4j.Element
-
elementTextTrim
- Specified by:
elementTextTrimin interfaceorg.dom4j.Element
-
elementTextTrim
- Specified by:
elementTextTrimin interfaceorg.dom4j.Element
-
getXPathResult
- Specified by:
getXPathResultin interfaceorg.dom4j.Element
-
node
- Specified by:
nodein interfaceorg.dom4j.Branch
-
indexOf
- Specified by:
indexOfin interfaceorg.dom4j.Branch
-
nodeCount
public int nodeCount()- Specified by:
nodeCountin interfaceorg.dom4j.Branch
-
elementByID
- Specified by:
elementByIDin interfaceorg.dom4j.Branch
-
content
- Specified by:
contentin interfaceorg.dom4j.Branch
-
nodeIterator
- Specified by:
nodeIteratorin interfaceorg.dom4j.Branch
-
setContent
- Specified by:
setContentin interfaceorg.dom4j.Branch
-
appendContent
- Specified by:
appendContentin interfaceorg.dom4j.Branch
-
clearContent
public void clearContent()- Specified by:
clearContentin interfaceorg.dom4j.Branch
-
processingInstructions
- Specified by:
processingInstructionsin interfaceorg.dom4j.Branch
-
processingInstructions
- Specified by:
processingInstructionsin interfaceorg.dom4j.Branch
-
processingInstruction
- Specified by:
processingInstructionin interfaceorg.dom4j.Branch
-
setProcessingInstructions
- Specified by:
setProcessingInstructionsin interfaceorg.dom4j.Branch
-
addElement
- Specified by:
addElementin interfaceorg.dom4j.Branch
-
addElement
- Specified by:
addElementin interfaceorg.dom4j.Branch
-
addElement
- Specified by:
addElementin interfaceorg.dom4j.Branch
-
removeProcessingInstruction
- Specified by:
removeProcessingInstructionin interfaceorg.dom4j.Branch
-
add
- Specified by:
addin interfaceorg.dom4j.Branch
-
add
- Specified by:
addin interfaceorg.dom4j.Branch
-
add
- Specified by:
addin interfaceorg.dom4j.Branch
-
add
- Specified by:
addin interfaceorg.dom4j.Branch
-
remove
- Specified by:
removein interfaceorg.dom4j.Branch
-
remove
- Specified by:
removein interfaceorg.dom4j.Branch
-
remove
- Specified by:
removein interfaceorg.dom4j.Branch
-
remove
- Specified by:
removein interfaceorg.dom4j.Branch
-
normalize
public void normalize()- Specified by:
normalizein interfaceorg.dom4j.Branch
-
equals
-
hashCode
public int hashCode() -
toString
-