| Package | Description |
|---|---|
| com.sun.tools.txw2.builder.relaxng |
Reads RELAX NG grammar from RNGOM and builds the model for TXW.
|
| com.sun.tools.txw2.builder.xsd |
Reads XML Schema grammar from XSOM and builds the model for TXW.
|
| com.sun.tools.txw2.model |
| Modifier and Type | Method | Description |
|---|---|---|
Leaf |
SchemaBuilderImpl.annotate(Leaf leaf,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.annotateAfter(Leaf leaf,
com.sun.tools.rngom.ast.om.ParsedElementAnnotation parsedElementAnnotation) |
|
Leaf |
SchemaBuilderImpl.commentAfter(Leaf leaf,
CommentListImpl commentList) |
|
Leaf |
SchemaBuilderImpl.expandPattern(Leaf leaf) |
|
Leaf |
SchemaBuilderImpl.makeAttribute(com.sun.tools.rngom.nc.NameClass nameClass,
Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeChoice(java.util.List<Leaf> leaves,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeElement(com.sun.tools.rngom.nc.NameClass nameClass,
Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeEmpty(com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeErrorPattern() |
|
Leaf |
SchemaBuilderImpl.makeExternalRef(com.sun.tools.rngom.parse.Parseable current,
java.lang.String uri,
java.lang.String ns,
com.sun.tools.rngom.ast.builder.Scope<Leaf,com.sun.tools.rngom.ast.om.ParsedElementAnnotation,com.sun.tools.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> scope,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeGroup(java.util.List<Leaf> leaves,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeInterleave(java.util.List<Leaf> leaves,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeList(Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeMixed(Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeNotAllowed(com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeOneOrMore(Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeOptional(Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeText(com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeValue(java.lang.String datatypeLibrary,
java.lang.String type,
java.lang.String value,
com.sun.tools.rngom.parse.Context c,
java.lang.String ns,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeZeroOrMore(Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
| Modifier and Type | Method | Description |
|---|---|---|
com.sun.tools.rngom.ast.builder.ElementAnnotationBuilder<Leaf,com.sun.tools.rngom.ast.om.ParsedElementAnnotation,com.sun.tools.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> |
SchemaBuilderImpl.makeElementAnnotationBuilder(java.lang.String ns,
java.lang.String localName,
java.lang.String prefix,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
CommentListImpl commentList,
com.sun.tools.rngom.parse.Context context) |
|
com.sun.tools.rngom.ast.builder.Grammar<Leaf,com.sun.tools.rngom.ast.om.ParsedElementAnnotation,com.sun.tools.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> |
SchemaBuilderImpl.makeGrammar(com.sun.tools.rngom.ast.builder.Scope<Leaf,com.sun.tools.rngom.ast.om.ParsedElementAnnotation,com.sun.tools.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> scope) |
| Modifier and Type | Method | Description |
|---|---|---|
Leaf |
SchemaBuilderImpl.annotate(Leaf leaf,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.annotateAfter(Leaf leaf,
com.sun.tools.rngom.ast.om.ParsedElementAnnotation parsedElementAnnotation) |
|
Leaf |
SchemaBuilderImpl.commentAfter(Leaf leaf,
CommentListImpl commentList) |
|
Leaf |
SchemaBuilderImpl.expandPattern(Leaf leaf) |
|
Leaf |
SchemaBuilderImpl.makeAttribute(com.sun.tools.rngom.nc.NameClass nameClass,
Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeElement(com.sun.tools.rngom.nc.NameClass nameClass,
Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeList(Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeMixed(Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeOneOrMore(Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeOptional(Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeZeroOrMore(Leaf leaf,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
| Modifier and Type | Method | Description |
|---|---|---|
Leaf |
SchemaBuilderImpl.makeChoice(java.util.List<Leaf> leaves,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeExternalRef(com.sun.tools.rngom.parse.Parseable current,
java.lang.String uri,
java.lang.String ns,
com.sun.tools.rngom.ast.builder.Scope<Leaf,com.sun.tools.rngom.ast.om.ParsedElementAnnotation,com.sun.tools.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> scope,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
com.sun.tools.rngom.ast.builder.Grammar<Leaf,com.sun.tools.rngom.ast.om.ParsedElementAnnotation,com.sun.tools.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> |
SchemaBuilderImpl.makeGrammar(com.sun.tools.rngom.ast.builder.Scope<Leaf,com.sun.tools.rngom.ast.om.ParsedElementAnnotation,com.sun.tools.rngom.ast.util.LocatorImpl,com.sun.tools.txw2.builder.relaxng.AnnotationsImpl,CommentListImpl> scope) |
|
Leaf |
SchemaBuilderImpl.makeGroup(java.util.List<Leaf> leaves,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
|
Leaf |
SchemaBuilderImpl.makeInterleave(java.util.List<Leaf> leaves,
com.sun.tools.rngom.ast.util.LocatorImpl locator,
com.sun.tools.txw2.builder.relaxng.AnnotationsImpl annotations) |
| Modifier and Type | Method | Description |
|---|---|---|
Leaf |
XmlSchemaBuilder.annotation(XSAnnotation xsAnnotation) |
|
Leaf |
XmlSchemaBuilder.attGroupDecl(XSAttGroupDecl ag) |
|
Leaf |
XmlSchemaBuilder.complexType(XSComplexType ct) |
|
Leaf |
XmlSchemaBuilder.elementDecl(XSElementDecl e) |
|
Leaf |
XmlSchemaBuilder.empty(XSContentType empty) |
|
Leaf |
XmlSchemaBuilder.facet(XSFacet xsFacet) |
|
Leaf |
XmlSchemaBuilder.identityConstraint(XSIdentityConstraint xsIdentityConstraint) |
|
Leaf |
XmlSchemaBuilder.listSimpleType(XSListSimpleType st) |
|
Leaf |
XmlSchemaBuilder.modelGroup(XSModelGroup mg) |
|
Leaf |
XmlSchemaBuilder.modelGroupDecl(XSModelGroupDecl mg) |
|
Leaf |
XmlSchemaBuilder.notation(XSNotation xsNotation) |
|
Leaf |
XmlSchemaBuilder.particle(XSParticle particle) |
|
Leaf |
XmlSchemaBuilder.restrictionSimpleType(XSRestrictionSimpleType rst) |
|
Leaf |
XmlSchemaBuilder.schema(XSSchema xsSchema) |
|
Leaf |
XmlSchemaBuilder.simpleType(XSSimpleType simpleType) |
|
Leaf |
XmlSchemaBuilder.unionSimpleType(XSUnionSimpleType st) |
|
Leaf |
XmlSchemaBuilder.wildcard(XSWildcard wc) |
|
Leaf |
XmlSchemaBuilder.xpath(XSXPath xsxPath) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
Attribute |
Attribute declaration.
|
class |
Data |
|
class |
Define |
A named pattern.
|
class |
Element |
Element declaration.
|
class |
Empty |
|
class |
Grammar |
Represents a RELAX NG grammar.
|
class |
List |
|
class |
Node |
|
class |
Ref |
A reference to a named pattern.
|
class |
Value |
A constant value.
|
class |
WriterNode |
The
Node that maps to the program element. |
class |
XmlNode |
| Modifier and Type | Field | Description |
|---|---|---|
Leaf |
Node.leaf |
Children of this node.
|
| Modifier and Type | Method | Description |
|---|---|---|
Leaf |
Leaf.getNext() |
|
Leaf |
Leaf.getPrev() |
|
Leaf |
Leaf.merge(Leaf that) |
Combines two sets into one set.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected java.util.Set<Leaf> |
XmlNode.collectChildren() |
Expand all refs and collect all children.
|
java.util.Iterator<Leaf> |
Node.iterator() |
Iterates all the children.
|
java.lang.Iterable<Leaf> |
Leaf.siblings() |
Returns the collection of all the siblings
(including itself)
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
Node.addChild(Leaf child) |
|
Leaf |
Leaf.merge(Leaf that) |
Combines two sets into one set.
|
| Constructor | Description |
|---|---|
Attribute(org.xml.sax.Locator location,
javax.xml.namespace.QName name,
Leaf leaf) |
|
Element(org.xml.sax.Locator location,
javax.xml.namespace.QName name,
Leaf leaf) |
|
List(org.xml.sax.Locator location,
Leaf leaf) |
|
Node(org.xml.sax.Locator location,
Leaf leaf) |
|
NodeSet(TxwOptions opts,
Leaf entry) |
|
WriterNode(org.xml.sax.Locator location,
Leaf leaf) |
|
XmlNode(org.xml.sax.Locator location,
javax.xml.namespace.QName name,
Leaf leaf) |
Copyright © 2018 Oracle Corporation. All rights reserved.