Package | Description |
---|---|
org.dom4j |
Defines the XML Document Object Model in Java interfaces together
with some helper classes.
|
org.dom4j.bean |
An implementation of the dom4j API which allows JavaBeans to be used to
store and retrieve attribute values from Element.
|
org.dom4j.datatype |
An implementation of the dom4j API which supports the
XML Schema Data Types specification.
|
org.dom4j.dom |
An implementation of the dom4j API which also supports the
W3C object model.
|
org.dom4j.io |
Provides input and output via SAX and DOM together with writing dom4j
objects to streams as XML text.
|
org.dom4j.jaxb | |
org.dom4j.rule | |
org.dom4j.swing |
A collection of adapters to allow easy integration with dom4j
XML documents and Swing such as TreeModels and TableModels.
|
org.dom4j.tree |
Contains the default implementations of the dom4j Document Object Model
together with some helpful base classes for those wishing to
implement their own document object model.
|
org.dom4j.util |
A collection of utility classes for the dom4j API.
|
org.dom4j.xpath |
Provides the core tools needed to use the XPath library
|
org.dom4j.xpp |
Provides implementation classes to cleanly integrate dom4j with the XML Pull Parser
XPP
|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.cfg.annotations.reflection | |
org.hibernate.collection.internal | |
org.hibernate.envers.configuration | |
org.hibernate.envers.configuration.metadata | |
org.hibernate.envers.entities | |
org.hibernate.internal.util.xml | |
org.hibernate.metamodel.binding | |
org.hibernate.proxy.dom4j | |
org.hibernate.tuple |
This package defines a runtime metamodel for entities at
the object level and abstracts the differences between
the various entity modes.
|
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
Modifier and Type | Method and Description |
---|---|
Element |
Element.addAttribute(QName qName,
String value)
Adds the attribute value of the given fully qualified name.
|
Element |
Element.addAttribute(String name,
String value)
Adds the attribute value of the given local name.
|
Element |
Element.addCDATA(String cdata)
Adds a new
CDATA node with the given text to this element. |
Element |
Element.addComment(String comment)
Adds a new
Comment node with the given text to this
element. |
Element |
Branch.addElement(QName qname)
Adds a new
Element node with the given QName to
this branch and returns a reference to the new node. |
Element |
Branch.addElement(String name)
Adds a new
Element node with the given name to this branch
and returns a reference to the new node. |
Element |
Branch.addElement(String qualifiedName,
String namespaceURI)
Adds a new
Element node with the given qualified name and
namespace URI to this branch and returns a reference to the new node. |
Element |
Element.addEntity(String name,
String text)
Adds a new
Entity node with the given name and text to
this element and returns a reference to the new node. |
Element |
Element.addNamespace(String prefix,
String uri)
Adds a namespace to this element for use by its child content
|
Element |
Element.addProcessingInstruction(String target,
Map data)
Adds a processing instruction for the given target
|
Element |
Element.addProcessingInstruction(String target,
String text)
Adds a processing instruction for the given target
|
Element |
Element.addText(String text)
Adds a new
Text node with the given text to this element. |
Element |
Element.createCopy()
Creates a deep copy of this element The new element is detached from its
parent, and getParent() on the clone will return null.
|
Element |
Element.createCopy(QName qName)
Creates a deep copy of this element with the given fully qualified name.
|
Element |
Element.createCopy(String name)
Creates a deep copy of this element with the given local name The new
element is detached from its parent, and getParent() on the clone will
return null.
|
static Element |
DocumentHelper.createElement(QName qname) |
Element |
DocumentFactory.createElement(QName qname) |
static Element |
DocumentHelper.createElement(String name) |
Element |
DocumentFactory.createElement(String name) |
Element |
DocumentFactory.createElement(String qualifiedName,
String namespaceURI) |
Element |
Element.element(QName qName)
Returns the first element for the given fully qualified name.
|
Element |
Element.element(String name)
Returns the first element for the given local name and any namespace.
|
Element |
Branch.elementByID(String elementID)
Returns the element of the given ID attribute value.
|
Element |
ElementPath.getCurrent()
DOCUMENT ME!
|
Element |
ElementPath.getElement(int depth)
DOCUMENT ME!
|
Element |
Node.getParent()
getParent returns the parent Element if
this node supports the parent relationship or null if it is the root
element or does not support the parent relationship. |
Element |
Document.getRootElement()
Returns the root
Element for this document. |
static Element |
DocumentHelper.makeElement(Branch source,
String path)
makeElement
|
Modifier and Type | Method and Description |
---|---|
void |
Branch.add(Element element)
Adds the given
Element to this branch. |
void |
Element.appendAttributes(Element element)
Appends the attributes of the given element to me.
|
Node |
Node.asXPathResult(Element parent)
asXPathResult returns a version of this node which is
capable of being an XPath result. |
static Attribute |
DocumentHelper.createAttribute(Element owner,
QName qname,
String value) |
Attribute |
DocumentFactory.createAttribute(Element owner,
QName qname,
String value) |
static Attribute |
DocumentHelper.createAttribute(Element owner,
String name,
String value) |
Attribute |
DocumentFactory.createAttribute(Element owner,
String name,
String value) |
static Document |
DocumentHelper.createDocument(Element rootElement) |
Document |
DocumentFactory.createDocument(Element rootElement) |
protected Node |
Namespace.createXPathResult(Element parent) |
String |
Node.getPath(Element context)
Returns the relative XPath expression which will return a node set
containing the given node such as a/b/@c.
|
String |
Namespace.getPath(Element context) |
String |
Node.getUniquePath(Element context)
Returns the relative unique XPath expression from the given context which
will return a nodeset of one node which is the current node.
|
String |
Namespace.getUniquePath(Element context) |
boolean |
Branch.remove(Element element)
Removes the given
Element if the node is an immediate
child of this branch. |
void |
Node.setParent(Element parent)
setParent sets the parent relationship of this node if the
parent relationship is supported or does nothing if the parent
relationship is not supported. |
void |
Document.setRootElement(Element rootElement)
Sets the root element for this document
|
void |
VisitorSupport.visit(Element node) |
void |
Visitor.visit(Element node)
Visits the given
Element |
Constructor and Description |
---|
IllegalAddException(Element parent,
Node node,
String reason) |
Modifier and Type | Class and Description |
---|---|
class |
BeanElement
BeanElement uses a Java Bean to store its attributes. |
Modifier and Type | Method and Description |
---|---|
Element |
BeanElement.addAttribute(QName qName,
String value) |
Element |
BeanElement.addAttribute(String name,
String value) |
Element |
BeanDocumentFactory.createElement(QName qname) |
Element |
BeanDocumentFactory.createElement(QName qname,
Attributes attributes) |
Element |
BeanAttribute.getParent() |
Modifier and Type | Method and Description |
---|---|
Attribute |
BeanDocumentFactory.createAttribute(Element owner,
QName qname,
String value) |
Modifier and Type | Class and Description |
---|---|
class |
DatatypeElement
DatatypeElement represents an Element which supports the XML Schema Data Types
specification. |
Modifier and Type | Method and Description |
---|---|
Element |
DatatypeElement.addText(String text) |
Element |
DatatypeElementFactory.createElement(QName qname) |
Element |
DatatypeAttribute.getParent() |
Modifier and Type | Method and Description |
---|---|
Attribute |
DatatypeElementFactory.createAttribute(Element owner,
QName qname,
String value) |
Attribute |
DatatypeDocumentFactory.createAttribute(Element owner,
QName qname,
String value) |
void |
DatatypeAttribute.setParent(Element parent) |
Modifier and Type | Class and Description |
---|---|
class |
DOMElement
DOMElement implements an XML element which supports the W3C
DOM API. |
Modifier and Type | Method and Description |
---|---|
Element |
DOMDocumentFactory.createElement(QName qname) |
Element |
DOMDocumentFactory.createElement(QName qname,
int attributeCount) |
Modifier and Type | Method and Description |
---|---|
Attribute |
DOMDocumentFactory.createAttribute(Element owner,
QName qname,
String value) |
Constructor and Description |
---|
DOMAttribute(Element parent,
QName qname,
String value) |
DOMCDATA(Element parent,
String text) |
DOMComment(Element parent,
String text) |
DOMEntityReference(Element parent,
String name,
String text) |
DOMNamespace(Element parent,
String prefix,
String uri) |
DOMProcessingInstruction(Element parent,
String target,
String val) |
DOMText(Element parent,
String text) |
Modifier and Type | Method and Description |
---|---|
Element |
STAXEventReader.createElement(StartElement startEvent)
Constructs a new DOM4J Element from the provided StartElement event.
|
Element |
ElementModifier.modifyElement(Element element)
Called by an event based processor when an elements closing tag is
encountered.
|
Element |
STAXEventReader.readElement(XMLEventReader eventReader)
Reads a DOM4J Element from the provided event stream.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SAXContentHandler.addAttributes(Element element,
Attributes attributes)
Add all the attributes to the given elements
|
protected void |
SAXContentHandler.addDeclaredNamespaces(Element element)
Add all namespaces declared before the startElement() SAX event to the
current element so that they are available to child elements and
attributes
|
protected void |
DOMWriter.appendDOMTree(Document domDocument,
Node domCurrent,
Element element) |
Attribute |
STAXEventReader.createAttribute(Element elem,
Attribute attr)
Constructs a new DOM4J Attribute from the provided StAX Attribute event.
|
protected Attributes |
SAXWriter.createAttributes(Element element,
Attributes namespaceAttributes) |
EndElement |
STAXEventWriter.createEndElement(Element elem)
Constructs a STAX
EndElement event from a DOM4J Element . |
StartElement |
STAXEventWriter.createStartElement(Element elem)
Constructs a STAX
StartElement event from a DOM4J Element . |
protected void |
SAXWriter.endElement(Element element) |
protected boolean |
XMLWriter.isElementSpacePreserved(Element element)
Determines if element is a special case of XML elements where it contains
an xml:space attribute of "preserve".
|
Element |
ElementModifier.modifyElement(Element element)
Called by an event based processor when an elements closing tag is
encountered.
|
protected void |
SAXWriter.startElement(Element element,
org.xml.sax.helpers.AttributesImpl namespaceAttributes) |
protected org.xml.sax.helpers.AttributesImpl |
SAXWriter.startPrefixMapping(Element element,
NamespaceStack namespaceStack)
Fires a SAX startPrefixMapping event for all the namespaceStack which
have just come into scope
|
void |
XMLWriter.write(Element element)
|
void |
SAXWriter.write(Element element)
Generates SAX events for the given Element and all its content
|
protected void |
SAXWriter.write(Element element,
NamespaceStack namespaceStack) |
protected void |
XMLWriter.writeAttributes(Element element)
Writes the attributes of the given element
|
void |
XMLWriter.writeClose(Element element)
Writes the closing tag of an
Element |
void |
SAXWriter.writeClose(Element element)
Writes the closing tag of an
Element |
protected void |
XMLWriter.writeElement(Element element) |
void |
STAXEventWriter.writeElement(Element elem)
Writes a DOM4J
Element node and its children to the stream. |
protected void |
HTMLWriter.writeElement(Element element)
This override handles any elements that should not remove whitespace,
such as <PRE>, <SCRIPT>, <STYLE>, and <TEXTAREA>.
|
protected void |
XMLWriter.writeElementContent(Element element)
Outputs the content of the given element.
|
void |
XMLWriter.writeOpen(Element element)
|
void |
SAXWriter.writeOpen(Element element)
|
Modifier and Type | Method and Description |
---|---|
void |
JAXBWriter.writeCloseElement(Element element)
Writes the closing tag of the specified
Element to the
document. |
void |
JAXBWriter.writeElement(Element element)
Writes the specified
Element to the document. |
void |
JAXBWriter.writeOpenElement(Element element)
Writes the opening tag of the specified
Element to the
document. |
Modifier and Type | Method and Description |
---|---|
void |
Mode.applyTemplates(Element element) |
Modifier and Type | Method and Description |
---|---|
static XMLTableDefinition |
XMLTableDefinition.load(Element definition)
Loads an XML table definition from an XML definition document
|
Constructor and Description |
---|
XMLTableModel(Element tableDefinition,
Object source)
Creates a TableModel from an XML table definition document and an XML
source
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractElement
AbstractElement is an abstract base class for tree
implementors to use for implementation inheritence. |
class |
BaseElement
BaseElement is a useful base class for implemementation
inheritence of an XML element. |
class |
DefaultElement
DefaultElement is the default DOM4J default implementation of
an XML element. |
Modifier and Type | Method and Description |
---|---|
Element |
AbstractElement.addAttribute(QName qName,
String value) |
Element |
AbstractElement.addAttribute(String name,
String value) |
Element |
AbstractElement.addCDATA(String cdata) |
Element |
AbstractElement.addComment(String comment) |
Element |
AbstractDocument.addElement(QName qName) |
Element |
AbstractBranch.addElement(QName qname) |
Element |
AbstractElement.addElement(String name) |
Element |
AbstractDocument.addElement(String name) |
Element |
AbstractBranch.addElement(String name) |
Element |
AbstractDocument.addElement(String qualifiedName,
String namespaceURI) |
Element |
AbstractBranch.addElement(String qualifiedName,
String namespaceURI) |
Element |
AbstractBranch.addElement(String name,
String prefix,
String uri) |
Element |
AbstractElement.addEntity(String name,
String text) |
Element |
AbstractElement.addNamespace(String prefix,
String uri) |
Element |
AbstractElement.addProcessingInstruction(String target,
Map data) |
Element |
AbstractElement.addProcessingInstruction(String target,
String data) |
Element |
AbstractElement.addText(String text) |
Element |
AbstractElement.createCopy()
This returns a deep clone of this element.
|
Element |
AbstractElement.createCopy(QName qName) |
Element |
AbstractElement.createCopy(String name) |
protected Element |
AbstractElement.createElement(QName qName) |
protected Element |
AbstractElement.createElement(String name) |
Element |
DefaultElement.element(QName qName) |
Element |
AbstractElement.element(QName qName) |
Element |
DefaultElement.element(String name) |
Element |
AbstractElement.element(String name) |
Element |
DefaultElement.element(String name,
Namespace namespace) |
Element |
AbstractElement.element(String name,
Namespace namespace) |
Element |
AbstractBranch.elementByID(String elementID) |
Element |
DefaultText.getParent() |
Element |
DefaultProcessingInstruction.getParent() |
Element |
DefaultNamespace.getParent() |
Element |
DefaultEntity.getParent() |
Element |
DefaultElement.getParent() |
Element |
DefaultComment.getParent() |
Element |
DefaultCDATA.getParent() |
Element |
DefaultAttribute.getParent() |
Element |
BaseElement.getParent() |
Element |
AbstractNode.getParent() |
Element |
DefaultDocument.getRootElement() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractElement.add(Element element) |
void |
AbstractDocument.add(Element element) |
void |
AbstractBranch.add(Element element) |
void |
AbstractElement.appendAttributes(Element element) |
Node |
AbstractNode.asXPathResult(Element parent) |
Node |
AbstractDocument.asXPathResult(Element parent) |
protected void |
AbstractDocument.checkAddElementAllowed(Element element) |
protected Node |
FlyweightText.createXPathResult(Element parent) |
protected Node |
FlyweightProcessingInstruction.createXPathResult(Element parent) |
protected Node |
FlyweightEntity.createXPathResult(Element parent) |
protected Node |
FlyweightComment.createXPathResult(Element parent) |
protected Node |
FlyweightCDATA.createXPathResult(Element parent) |
protected Node |
AbstractNode.createXPathResult(Element parent) |
protected Node |
AbstractAttribute.createXPathResult(Element parent) |
protected String |
AbstractBranch.elementID(Element element)
DOCUMENT ME!
|
String |
AbstractProcessingInstruction.getPath(Element context) |
String |
AbstractEntity.getPath(Element context) |
String |
AbstractElement.getPath(Element context) |
String |
AbstractDocumentType.getPath(Element context) |
String |
AbstractDocument.getPath(Element context) |
String |
AbstractComment.getPath(Element context) |
String |
AbstractCharacterData.getPath(Element context) |
String |
AbstractAttribute.getPath(Element context) |
String |
AbstractProcessingInstruction.getUniquePath(Element context) |
String |
AbstractEntity.getUniquePath(Element context) |
String |
AbstractElement.getUniquePath(Element context) |
String |
AbstractDocumentType.getUniquePath(Element context) |
String |
AbstractDocument.getUniquePath(Element context) |
String |
AbstractComment.getUniquePath(Element context) |
String |
AbstractCharacterData.getUniquePath(Element context) |
String |
AbstractAttribute.getUniquePath(Element context) |
boolean |
AbstractElement.remove(Element element) |
boolean |
AbstractDocument.remove(Element element) |
boolean |
AbstractBranch.remove(Element element) |
protected void |
DefaultDocument.rootElementAdded(Element element) |
protected abstract void |
AbstractDocument.rootElementAdded(Element rootElement)
Called to set the root element variable
|
void |
DefaultText.setParent(Element parent) |
void |
DefaultProcessingInstruction.setParent(Element parent) |
void |
DefaultNamespace.setParent(Element parent) |
void |
DefaultEntity.setParent(Element parent) |
void |
DefaultElement.setParent(Element parent) |
void |
DefaultComment.setParent(Element parent) |
void |
DefaultCDATA.setParent(Element parent) |
void |
DefaultAttribute.setParent(Element parent) |
void |
BaseElement.setParent(Element parent) |
void |
AbstractNode.setParent(Element parent) |
void |
AbstractDocument.setRootElement(Element rootElement) |
Constructor and Description |
---|
DefaultAttribute(Element parent,
QName qname,
String value) |
DefaultAttribute(Element parent,
String name,
String value,
Namespace namespace)
Creates the
Attribute with the specified local name, value
and Namespace . |
DefaultCDATA(Element parent,
String text)
DOCUMENT ME!
|
DefaultComment(Element parent,
String text)
DOCUMENT ME!
|
DefaultDocument(Element rootElement) |
DefaultDocument(Element rootElement,
DocumentType docType) |
DefaultDocument(String name,
Element rootElement,
DocumentType docType) |
DefaultEntity(Element parent,
String name,
String text)
Creates the
Entity with the specified name and text. |
DefaultNamespace(Element parent,
String prefix,
String uri)
DOCUMENT ME!
|
DefaultProcessingInstruction(Element parent,
String target,
String values)
This will create a new PI with the given target and values
|
DefaultText(Element parent,
String text)
DOCUMENT ME!
|
Modifier and Type | Class and Description |
---|---|
class |
IndexedElement
IndexedElement is an implementation of Element which
maintains an index of the attributes and elements it contains to optimise
lookups via name. |
class |
NonLazyElement
NonLazyElement is the default DOM4J default implementation of
an XML element. |
class |
UserDataElement
UserDataElement support the adornment of a user data object on
an Element or Attribute instance such that the methods
UserDataElement.setData(Object) will get and set the values of a user data object. |
Modifier and Type | Method and Description |
---|---|
protected Element |
IndexedElement.asElement(Object object) |
protected Element |
UserDataElement.createElement(QName qName) |
Element |
UserDataDocumentFactory.createElement(QName qname) |
Element |
ProxyDocumentFactory.createElement(QName qname) |
Element |
NonLazyDocumentFactory.createElement(QName qname) |
Element |
IndexedDocumentFactory.createElement(QName qname) |
Element |
IndexedDocumentFactory.createElement(QName qname,
int attributeCount) |
protected Element |
UserDataElement.createElement(String name) |
Element |
ProxyDocumentFactory.createElement(String name) |
Element |
IndexedElement.element(QName qName) |
Element |
IndexedElement.element(String name) |
Element |
XMLErrorHandler.getErrors() |
Modifier and Type | Method and Description |
---|---|
protected void |
XMLErrorHandler.addException(Element element,
SAXParseException e)
Adds the given parse exception information to the given element instance
|
protected void |
IndexedElement.addToElementIndex(Element element) |
protected void |
IndexedElement.addToElementIndex(Object key,
Element value) |
static boolean |
AttributeHelper.booleanValue(Element element,
QName attributeQName) |
static boolean |
AttributeHelper.booleanValue(Element element,
String attributeName) |
int |
NodeComparator.compare(Element n1,
Element n2) |
Attribute |
UserDataDocumentFactory.createAttribute(Element owner,
QName qname,
String value) |
Attribute |
ProxyDocumentFactory.createAttribute(Element owner,
QName qname,
String value) |
Attribute |
ProxyDocumentFactory.createAttribute(Element owner,
String name,
String value) |
Document |
ProxyDocumentFactory.createDocument(Element rootElement) |
protected void |
IndexedElement.removeFromElementIndex(Element element) |
protected void |
IndexedElement.removeFromElementIndex(Object key,
Element value) |
void |
XMLErrorHandler.setErrors(Element errors) |
Constructor and Description |
---|
XMLErrorHandler(Element errors) |
Constructor and Description |
---|
DefaultNamespaceContext(Element element) |
Modifier and Type | Method and Description |
---|---|
Element |
ProxyXmlStartTag.getElement() |
Constructor and Description |
---|
ProxyXmlStartTag(Element element) |
Modifier and Type | Method and Description |
---|---|
static void |
HbmBinder.bindAny(Element node,
Any any,
boolean isNullable,
Mappings mappings) |
static void |
HbmBinder.bindArray(Element node,
Array array,
String prefix,
String path,
Mappings mappings,
Map inheritedMetas)
Called for arrays and primitive arrays
|
static void |
HbmBinder.bindClass(Element node,
PersistentClass persistentClass,
Mappings mappings,
Map inheritedMetas) |
static void |
HbmBinder.bindCollection(Element node,
Collection collection,
String className,
String path,
Mappings mappings,
Map inheritedMetas)
Called for all collections
|
static void |
HbmBinder.bindCollectionSecondPass(Element node,
Collection collection,
Map persistentClasses,
Mappings mappings,
Map inheritedMetas)
Called for all collections
|
static void |
HbmBinder.bindColumn(Element node,
Column column,
boolean isNullable) |
static void |
HbmBinder.bindColumns(Element node,
SimpleValue simpleValue,
boolean isNullable,
boolean autoColumn,
String propertyPath,
Mappings mappings) |
static void |
HbmBinder.bindComponent(Element node,
Component component,
String ownerClassName,
String parentProperty,
String path,
boolean isNullable,
boolean isEmbedded,
Mappings mappings,
Map inheritedMetas,
boolean isIdentifierMapper) |
static void |
HbmBinder.bindComposite(Element node,
Component component,
String path,
boolean isNullable,
Mappings mappings,
Map inheritedMetas) |
static void |
HbmBinder.bindCompositeId(Element node,
Component component,
PersistentClass persistentClass,
String propertyName,
Mappings mappings,
Map inheritedMetas) |
static void |
HbmBinder.bindIdentifierCollectionSecondPass(Element node,
IdentifierCollection collection,
Map persistentClasses,
Mappings mappings,
Map inheritedMetas) |
static void |
HbmBinder.bindJoinedSubclass(Element node,
JoinedSubclass joinedSubclass,
Mappings mappings,
Map inheritedMetas) |
static void |
HbmBinder.bindListSecondPass(Element node,
List list,
Map classes,
Mappings mappings,
Map inheritedMetas)
Called for Lists, arrays, primitive arrays
|
static void |
HbmBinder.bindManyToOne(Element node,
ManyToOne manyToOne,
String path,
boolean isNullable,
Mappings mappings) |
static void |
HbmBinder.bindMapSecondPass(Element node,
Map map,
Map classes,
Mappings mappings,
Map inheritedMetas)
Called for Maps
|
static void |
HbmBinder.bindOneToMany(Element node,
OneToMany oneToMany,
Mappings mappings) |
static void |
HbmBinder.bindOneToOne(Element node,
OneToOne oneToOne,
String path,
boolean isNullable,
Mappings mappings) |
static void |
HbmBinder.bindProperty(Element node,
Property property,
Mappings mappings,
Map inheritedMetas) |
static void |
HbmBinder.bindRootClass(Element node,
RootClass rootClass,
Mappings mappings,
Map inheritedMetas)
Responsible for performing the bind operation related to an <class/> mapping element.
|
static void |
HbmBinder.bindSimpleValue(Element node,
SimpleValue simpleValue,
boolean isNullable,
String path,
Mappings mappings) |
static void |
HbmBinder.bindSubclass(Element node,
Subclass subclass,
Mappings mappings,
Map inheritedMetas) |
static void |
HbmBinder.bindUnionSubclass(Element node,
UnionSubclass unionSubclass,
Mappings mappings,
Map inheritedMetas) |
protected static ResultSetMappingDefinition |
ResultSetMappingBinder.buildResultSetMappingDefinition(Element resultSetElem,
String path,
Mappings mappings)
Build a ResultSetMappingDefinition given a containing element for the "return-XXX" elements
|
protected static void |
HbmBinder.createClassProperties(Element node,
PersistentClass persistentClass,
Mappings mappings,
Map inheritedMetas) |
protected static void |
HbmBinder.createClassProperties(Element node,
PersistentClass persistentClass,
Mappings mappings,
Map inheritedMetas,
UniqueKey uniqueKey,
boolean mutable,
boolean nullable,
boolean naturalId) |
static String |
HbmBinder.getEntityName(Element elem,
Mappings model) |
static Map |
HbmBinder.getMetas(Element node,
Map inheritedMeta,
boolean onlyInheritable) |
static Map |
HbmBinder.getParameterTypes(Element queryElem) |
static String |
HbmBinder.getTypeFromXML(Element node) |
Constructor and Description |
---|
NamedSQLQuerySecondPass(Element queryElem,
String path,
Mappings mappings) |
ResultSetMappingSecondPass(Element element,
String path,
Mappings mappings) |
Modifier and Type | Method and Description |
---|---|
Element |
XMLContext.getXMLTree(String className) |
Modifier and Type | Method and Description |
---|---|
List<Element> |
XMLContext.getAllDocuments() |
Modifier and Type | Method and Description |
---|---|
static List |
JPAOverriddenAnnotationReader.buildNamedQueries(Element element,
boolean isNative,
XMLContext.Default defaults) |
static SequenceGenerator |
JPAOverriddenAnnotationReader.buildSequenceGeneratorAnnotation(Element element) |
static List<SqlResultSetMapping> |
JPAOverriddenAnnotationReader.buildSqlResultsetMappings(Element element,
XMLContext.Default defaults) |
static TableGenerator |
JPAOverriddenAnnotationReader.buildTableGeneratorAnnotation(Element element,
XMLContext.Default defaults) |
Modifier and Type | Field and Description |
---|---|
protected Element |
PersistentIndexedElementHolder.element |
protected Element |
PersistentElementHolder.element |
Modifier and Type | Method and Description |
---|---|
protected static String |
PersistentIndexedElementHolder.getIndex(Element element,
String indexNodeName,
int i) |
protected static void |
PersistentIndexedElementHolder.setIndex(Element element,
String indexNodeName,
String index) |
Constructor and Description |
---|
PersistentElementHolder(SessionImplementor session,
Element element) |
PersistentIndexedElementHolder(SessionImplementor session,
Element element) |
PersistentListElementHolder(SessionImplementor session,
Element element) |
PersistentMapElementHolder(SessionImplementor session,
Element element) |
Modifier and Type | Method and Description |
---|---|
EntitiesConfigurations |
EntitiesConfigurator.configure(Configuration cfg,
ReflectionManager reflectionManager,
GlobalConfiguration globalCfg,
AuditEntitiesConfiguration verEntCfg,
AuditStrategy auditStrategy,
Document revisionInfoXmlMapping,
Element revisionInfoRelationMapping) |
Modifier and Type | Method and Description |
---|---|
static Element |
MetadataTools.addColumn(Element parent,
String name,
Integer length,
Integer scale,
Integer precision,
String sqlType,
String customRead,
String customWrite)
Adds new
column element. |
static Element |
MetadataTools.addColumn(Element parent,
String name,
Integer length,
Integer scale,
Integer precision,
String sqlType,
String customRead,
String customWrite,
boolean quoted) |
static Element |
MetadataTools.addModifiedFlagProperty(Element parent,
String propertyName,
String suffix) |
static Element |
MetadataTools.addNativelyGeneratedId(Element parent,
String name,
String type) |
static Element |
MetadataTools.addOrModifyColumn(Element parent,
String name)
Column name shall be wrapped with '`' signs if quotation required.
|
static Element |
MetadataTools.addProperty(Element parent,
String name,
String type,
boolean insertable,
boolean key) |
static Element |
MetadataTools.addProperty(Element parent,
String name,
String type,
boolean insertable,
boolean updateable,
boolean key) |
static Element |
MetadataTools.createEntity(Document document,
AuditTableData auditTableData,
String discriminatorValue) |
static Element |
MetadataTools.createJoin(Element parent,
String tableName,
String schema,
String catalog) |
static Element |
MetadataTools.createSubclassEntity(Document document,
String subclassType,
AuditTableData auditTableData,
String extendsEntityName,
String discriminatorValue) |
Element |
EntityXmlMappingData.getClassMapping() |
Modifier and Type | Method and Description |
---|---|
static void |
MetadataTools.addColumn(Element any_mapping,
Column column)
Adds
column element with the following attributes (unless empty): name ,
length , scale , precision , sql-type , read
and write . |
static Element |
MetadataTools.addColumn(Element parent,
String name,
Integer length,
Integer scale,
Integer precision,
String sqlType,
String customRead,
String customWrite)
Adds new
column element. |
static Element |
MetadataTools.addColumn(Element parent,
String name,
Integer length,
Integer scale,
Integer precision,
String sqlType,
String customRead,
String customWrite,
boolean quoted) |
static void |
MetadataTools.addColumns(Element any_mapping,
Iterator<Column> columns) |
static void |
MetadataTools.addColumnsOrFormulas(Element element,
Iterator columnIterator)
Adds all
column or formula elements. |
void |
ComponentMetadataGenerator.addComponent(Element parent,
PropertyAuditingData propertyAuditingData,
Value value,
CompositeMapperBuilder mapper,
String entityName,
EntityXmlMappingData xmlMappingData,
boolean firstPass) |
static void |
MetadataTools.addFormula(Element element,
Formula formula)
Adds
formula element. |
static Element |
MetadataTools.addModifiedFlagProperty(Element parent,
String propertyName,
String suffix) |
static Element |
MetadataTools.addNativelyGeneratedId(Element parent,
String name,
String type) |
static Element |
MetadataTools.addOrModifyColumn(Element parent,
String name)
Column name shall be wrapped with '`' signs if quotation required.
|
static Element |
MetadataTools.addProperty(Element parent,
String name,
String type,
boolean insertable,
boolean key) |
static Element |
MetadataTools.addProperty(Element parent,
String name,
String type,
boolean insertable,
boolean updateable,
boolean key) |
static Element |
MetadataTools.createJoin(Element parent,
String tableName,
String schema,
String catalog) |
static void |
MetadataTools.prefixNamesInPropertyElement(Element element,
String prefix,
MetadataTools.ColumnNameIterator columnNameIterator,
boolean changeToKey,
boolean insertable) |
void |
EntityXmlMappingData.setClassMapping(Element classMapping) |
Constructor and Description |
---|
AuditMetadataGenerator(Configuration cfg,
GlobalConfiguration globalCfg,
AuditEntitiesConfiguration verEntCfg,
AuditStrategy auditStrategy,
Element revisionInfoRelationMapping,
AuditEntityNameRegister auditEntityNameRegister) |
Modifier and Type | Method and Description |
---|---|
Element |
IdMappingData.getXmlMapping() |
Element |
IdMappingData.getXmlRelationMapping() |
Constructor and Description |
---|
IdMappingData(IdMapper idMapper,
Element xmlMapping,
Element xmlRelationMapping) |
Modifier and Type | Method and Description |
---|---|
static Element |
XMLHelper.generateDom4jElement(String elementName) |
Modifier and Type | Method and Description |
---|---|
static void |
XMLHelper.dump(Element element) |
Modifier and Type | Method and Description |
---|---|
void |
ManyToManyCollectionElement.fromHbmXml(Element node) |
Modifier and Type | Class and Description |
---|---|
class |
Dom4jProxy
Proxy for "dom4j" entity representations.
|
Modifier and Type | Method and Description |
---|---|
void |
Dom4jProxy.add(Element element) |
void |
Dom4jProxy.appendAttributes(Element element) |
Node |
Dom4jProxy.asXPathResult(Element element) |
String |
Dom4jProxy.getPath(Element element) |
String |
Dom4jProxy.getUniquePath(Element element) |
boolean |
Dom4jProxy.remove(Element element) |
void |
Dom4jProxy.setParent(Element element) |
Modifier and Type | Class and Description |
---|---|
class |
ElementWrapper
Wraps dom4j elements, allowing them to exist in a
non-hierarchical structure.
|
Modifier and Type | Method and Description |
---|---|
Element |
ElementWrapper.addAttribute(QName attrName,
String text) |
Element |
ElementWrapper.addAttribute(String attrName,
String text) |
Element |
ElementWrapper.addCDATA(String text) |
Element |
ElementWrapper.addComment(String text) |
Element |
ElementWrapper.addElement(QName qName) |
Element |
ElementWrapper.addElement(String name) |
Element |
ElementWrapper.addElement(String name,
String text) |
Element |
ElementWrapper.addEntity(String name,
String text) |
Element |
ElementWrapper.addNamespace(String prefix,
String uri) |
Element |
ElementWrapper.addProcessingInstruction(String target,
Map data) |
Element |
ElementWrapper.addProcessingInstruction(String target,
String text) |
Element |
ElementWrapper.addText(String text) |
Element |
ElementWrapper.createCopy() |
Element |
ElementWrapper.createCopy(QName qName) |
Element |
ElementWrapper.createCopy(String name) |
Element |
ElementWrapper.element(QName qName) |
Element |
ElementWrapper.element(String name) |
Element |
ElementWrapper.elementByID(String id) |
Element |
ElementWrapper.getElement() |
Element |
ElementWrapper.getParent() |
Modifier and Type | Method and Description |
---|---|
void |
ElementWrapper.add(Element element) |
void |
ElementWrapper.appendAttributes(Element element) |
Node |
ElementWrapper.asXPathResult(Element element) |
String |
ElementWrapper.getPath(Element element) |
String |
ElementWrapper.getUniquePath(Element element) |
boolean |
ElementWrapper.remove(Element element) |
void |
ElementWrapper.setParent(Element parent) |
Constructor and Description |
---|
ElementWrapper(Element element) |
Modifier and Type | Method and Description |
---|---|
protected static void |
AbstractType.replaceNode(Node container,
Element value) |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.