| Package | Description |
|---|---|
| org.eigenbase.xom |
Provides an object layer for reading and writing XML documents.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenericDef
A
GenericDef is a ElementDef whose attributes and
children are stored in collections, not generated members. |
static class |
MetaDef.Any
The Any content is a special marker which allows an Element to
contain any type of data.
|
static class |
MetaDef.Array
An Array is a set of multiple instances of Elements.
|
static class |
MetaDef.Attribute
The Attribute entity appears within any Element definition.
|
static class |
MetaDef.CData
The CData content is a special marker which allows an Element to
contain a single CDATA section as its only content, yet still
have attributes.
|
static class |
MetaDef.Class
A Class Definition defines a class of entities.
|
static class |
MetaDef.Element
An Element Definition defines a basic entity of the meta model.
|
static class |
MetaDef.Import
An Import as a special type of element that represents another element
stored in an external model.
|
static class |
MetaDef.Model
Model is the top-level element for a model description.
|
static class |
MetaDef.Object
An Object is a single instance of an Element type.
|
static class |
MetaDef.Plugin
A Plugin in a special type of element whose content may be derived from
a different model.
|
static class |
MetaDef.StringElement
A StringElement is a simple type of element which has no attributes and
whose content is a single String (usually represented as a CDATA section).
|
class |
WrapperElementDef
|
| Modifier and Type | Method and Description |
|---|---|
ElementDef |
ElementDef.deepCopy()
Public version of clone(); returns a deep copy of this ElementDef.
|
protected static ElementDef[] |
ElementDef.getElementChildren(DOMWrapper _def,
Class clazz,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
static void |
XOMUtil.addChild(ElementDef parent,
ElementDef child) |
static void |
XOMUtil.addChild(ElementDef parent,
NodeDef child) |
static void |
XOMUtil.addChildren(ElementDef parent,
NodeDef[] children)
Adds a set of children to an object, using its best guess as to where to
put them.
|
String |
ElementDef.diff(ElementDef other)
The diff function compares this element against another, determining if
they are exactly equal.
|
boolean |
ElementDef.displayDiff(ElementDef other,
PrintWriter out,
int indent)
The displayDiff function compares this element definition against another,
compiling a message containing all diffs.
|
boolean |
MetaDef.Model.displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
boolean |
MetaDef.Element.displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
boolean |
MetaDef.Class.displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
boolean |
MetaDef.StringElement.displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
boolean |
MetaDef.Plugin.displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
boolean |
MetaDef.Import.displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
boolean |
MetaDef.Attribute.displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
boolean |
MetaDef.Object.displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
boolean |
MetaDef.Array.displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
boolean |
MetaDef.Any.displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
boolean |
MetaDef.CData.displayDiff(ElementDef _other,
PrintWriter _out,
int _indent) |
protected static void |
ElementDef.displayElement(PrintWriter out,
String name,
ElementDef value,
int indent)
This convenience function displays any ElementDef with the given
parameter name at the given indentation level.
|
protected static void |
ElementDef.displayXMLElement(XMLOutput out,
ElementDef value)
This convenience function displays any ElementDef in XML.
|
void |
ElementDef.verifyEqual(ElementDef other)
Verifies that this ElementDef is equal to other, throwing a
XOMException with a lengthy explanation if equality
fails.
|
Copyright © 2012–2022 Julian Hyde. All rights reserved.