Package | Description |
---|---|
org.nrg.xft.schema | |
org.nrg.xft.schema.Wrappers.GenericWrapper |
Modifier and Type | Field and Description |
---|---|
XFTSchema |
XFTDataModel.schema |
Modifier and Type | Method and Description |
---|---|
XFTSchema |
XMLType.getSchema() |
XFTSchema |
XFTElement.getSchema() |
XFTSchema |
XFTDataModel.getSchema()
if the schema has been populated it is returned, else it is populated and returned.
|
XFTSchema |
NodeWrapper.getSchema()
Returns the NodeWrapper's XFTSchema
|
Modifier and Type | Method and Description |
---|---|
static XFTField |
XFTField.AddField(Node node,
String header,
XFTNode parent,
String prefix,
XFTSchema s)
Returns one created XFTField or null.
|
static XFTField |
XFTField.AddField(Node node,
String header,
XFTNode parent,
String prefix,
XFTSchema s,
boolean allowMaxOccursElement)
Returns one created XFTField or null.
|
static void |
NodeWrapper.AddNode(String name,
String element,
XFTSchema s)
Adds a new NodeWrapper to the ALL_NODES collection of loaded nodes
using the input variables.
|
static Node |
NodeWrapper.FindNode(String name,
XFTSchema s)
Finds the specific XML DOM node based on an item's node name.
|
static XFTDataField |
XFTDataField.GetEmptyKey(String prefix,
XFTSchema s)
Constructs a new empty primary key field.
|
static Hashtable |
XFTField.GetFields(Node node,
String header,
XFTNode parent,
String prefix,
XFTSchema s)
Searches the XML DOM Node for elements and attributes to turn into XFTFields.
|
static String |
XFTField.GetRefName(Node n,
String prefix,
XFTSchema s)
recursive method which gets the name of the first referenced element.
|
static Hashtable |
XFTField.HandleComplexType(Node node,
String header,
XFTNode parent,
String prefix,
XFTSchema s)
Returns a hashtable of XFTFields (key=XFTField.getName(),value=XFTField)
Checks for child nodes of type complexType, element, attribute, sequence, choice, all, group, simpleContent, attributeGroup. |
static boolean |
XFTField.IsRefOnly(Node n,
String prefix,
XFTSchema s)
recursive method which checks to see if this Node is more than a single reference to another node.
|
void |
XFTDataField.setProperties(Node node,
String prefix,
XFTSchema s) |
void |
XFTReferenceField.setProperties(Node node,
XFTSchema s)
Sets the field's properties according the attributes of the given field.
|
void |
XMLType.setSchema(XFTSchema schema) |
void |
XFTDataModel.setSchema(XFTSchema s) |
void |
NodeWrapper.setSchema(XFTSchema schema)
Assign a XFTSchema to this Schema.
This schema will be used to assign a definedPrefix to the XMLType and for finding the actual Node in its DOM document. |
Constructor and Description |
---|
XFTDataField(Node node,
String header,
String prefix,
XFTSchema s,
XFTNode parent)
Used to construct and populate a Data Field from the supplied node.
|
XFTElement(Node node,
String prefix,
XFTSchema s)
Constructs and populates a XFTElement based on the information stored in the XML DOM Node.
|
XFTElement(Node node,
String prefix,
XFTSchema s,
String header)
Constructs and populates a XFTElement based on the information stored in the XML DOM Node.
|
XFTElement(XFTSchema s)
Creates an empty XFTElement for the given XFTSchema.
|
XFTReferenceField(Node node,
XFTSchema s)
If the node has a defined type, then the type is used to find the referenced element.
|
XFTRule(Node node,
String prefix,
XFTSchema s)
Populates the properties from the given XML DOM Node.
|
XMLType(String xml,
XFTSchema s)
if the xml string has a ':' then the characters before it will become the localPrefix, and
the characters after it will become the local Field.
|
Modifier and Type | Method and Description |
---|---|
XFTSchema |
GenericWrapperElement.getSchema()
parent schema
|
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.