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 | Field and Description |
---|---|
protected org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> |
GrammarSectionImpl.parent |
Modifier and Type | Method and Description |
---|---|
Leaf |
SchemaBuilderImpl.annotate(Leaf leaf,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.annotateAfter(Leaf leaf,
org.kohsuke.rngom.ast.om.ParsedElementAnnotation parsedElementAnnotation) |
Leaf |
SchemaBuilderImpl.commentAfter(Leaf leaf,
CommentListImpl commentList) |
Leaf |
GrammarImpl.endGrammar(org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.expandPattern(Leaf leaf) |
Leaf |
SchemaBuilderImpl.makeAttribute(org.kohsuke.rngom.nc.NameClass nameClass,
Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeChoice(java.util.List<Leaf> leaves,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeElement(org.kohsuke.rngom.nc.NameClass nameClass,
Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeEmpty(org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeErrorPattern() |
Leaf |
SchemaBuilderImpl.makeExternalRef(org.kohsuke.rngom.parse.Parseable current,
java.lang.String uri,
java.lang.String ns,
org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> scope,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeGroup(java.util.List<Leaf> leaves,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeInterleave(java.util.List<Leaf> leaves,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeList(Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeMixed(Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeNotAllowed(org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeOneOrMore(Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeOptional(Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
GrammarImpl.makeParentRef(java.lang.String name,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
DataPatternBuilderImpl.makePattern(Leaf except,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
DataPatternBuilderImpl.makePattern(org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
GrammarImpl.makeRef(java.lang.String name,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeText(org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeValue(java.lang.String datatypeLibrary,
java.lang.String type,
java.lang.String value,
org.kohsuke.rngom.parse.Context c,
java.lang.String ns,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeZeroOrMore(Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
private Leaf |
SchemaBuilderImpl.merge(java.util.List<Leaf> leaves) |
Modifier and Type | Method and Description |
---|---|
org.kohsuke.rngom.ast.builder.Div<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> |
GrammarSectionImpl.makeDiv() |
org.kohsuke.rngom.ast.builder.ElementAnnotationBuilder<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> |
SchemaBuilderImpl.makeElementAnnotationBuilder(java.lang.String ns,
java.lang.String localName,
java.lang.String prefix,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
CommentListImpl commentList,
org.kohsuke.rngom.parse.Context context) |
org.kohsuke.rngom.ast.builder.Grammar<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> |
SchemaBuilderImpl.makeGrammar(org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> scope) |
org.kohsuke.rngom.ast.builder.Include<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> |
GrammarSectionImpl.makeInclude() |
Modifier and Type | Method and Description |
---|---|
Leaf |
SchemaBuilderImpl.annotate(Leaf leaf,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.annotateAfter(Leaf leaf,
org.kohsuke.rngom.ast.om.ParsedElementAnnotation parsedElementAnnotation) |
Leaf |
SchemaBuilderImpl.commentAfter(Leaf leaf,
CommentListImpl commentList) |
void |
GrammarSectionImpl.define(java.lang.String name,
org.kohsuke.rngom.ast.builder.GrammarSection.Combine combine,
Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.expandPattern(Leaf leaf) |
Leaf |
SchemaBuilderImpl.makeAttribute(org.kohsuke.rngom.nc.NameClass nameClass,
Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeElement(org.kohsuke.rngom.nc.NameClass nameClass,
Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeList(Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeMixed(Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeOneOrMore(Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeOptional(Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
DataPatternBuilderImpl.makePattern(Leaf except,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeZeroOrMore(Leaf leaf,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Modifier and Type | Method and Description |
---|---|
Leaf |
SchemaBuilderImpl.makeChoice(java.util.List<Leaf> leaves,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeExternalRef(org.kohsuke.rngom.parse.Parseable current,
java.lang.String uri,
java.lang.String ns,
org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> scope,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
org.kohsuke.rngom.ast.builder.Grammar<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> |
SchemaBuilderImpl.makeGrammar(org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> scope) |
Leaf |
SchemaBuilderImpl.makeGroup(java.util.List<Leaf> leaves,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
Leaf |
SchemaBuilderImpl.makeInterleave(java.util.List<Leaf> leaves,
org.kohsuke.rngom.ast.util.LocatorImpl locator,
AnnotationsImpl annotations) |
private Leaf |
SchemaBuilderImpl.merge(java.util.List<Leaf> leaves) |
Constructor and Description |
---|
DivImpl(org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> parent,
Grammar grammar) |
GrammarImpl(org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> scope) |
GrammarSectionImpl(org.kohsuke.rngom.ast.builder.Scope<Leaf,org.kohsuke.rngom.ast.om.ParsedElementAnnotation,org.kohsuke.rngom.ast.util.LocatorImpl,AnnotationsImpl,CommentListImpl> scope,
Grammar grammar) |
Modifier and Type | Method and Description |
---|---|
Leaf |
XmlSchemaBuilder.annotation(com.sun.xml.xsom.XSAnnotation xsAnnotation) |
Leaf |
XmlSchemaBuilder.attGroupDecl(com.sun.xml.xsom.XSAttGroupDecl ag) |
Leaf |
XmlSchemaBuilder.complexType(com.sun.xml.xsom.XSComplexType ct) |
Leaf |
XmlSchemaBuilder.elementDecl(com.sun.xml.xsom.XSElementDecl e) |
Leaf |
XmlSchemaBuilder.empty(com.sun.xml.xsom.XSContentType empty) |
Leaf |
XmlSchemaBuilder.facet(com.sun.xml.xsom.XSFacet xsFacet) |
Leaf |
XmlSchemaBuilder.identityConstraint(com.sun.xml.xsom.XSIdentityConstraint xsIdentityConstraint) |
Leaf |
XmlSchemaBuilder.listSimpleType(com.sun.xml.xsom.XSListSimpleType st) |
Leaf |
XmlSchemaBuilder.modelGroup(com.sun.xml.xsom.XSModelGroup mg) |
Leaf |
XmlSchemaBuilder.modelGroupDecl(com.sun.xml.xsom.XSModelGroupDecl mg) |
Leaf |
XmlSchemaBuilder.notation(com.sun.xml.xsom.XSNotation xsNotation) |
Leaf |
XmlSchemaBuilder.particle(com.sun.xml.xsom.XSParticle particle) |
Leaf |
XmlSchemaBuilder.restrictionSimpleType(com.sun.xml.xsom.XSRestrictionSimpleType rst) |
Leaf |
XmlSchemaBuilder.schema(com.sun.xml.xsom.XSSchema xsSchema) |
Leaf |
XmlSchemaBuilder.simpleType(com.sun.xml.xsom.XSSimpleType simpleType) |
Leaf |
XmlSchemaBuilder.unionSimpleType(com.sun.xml.xsom.XSUnionSimpleType st) |
Leaf |
XmlSchemaBuilder.wildcard(com.sun.xml.xsom.XSWildcard wc) |
Leaf |
XmlSchemaBuilder.xpath(com.sun.xml.xsom.XSXPath xsxPath) |
Modifier and Type | Class and 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 and Description |
---|---|
private Leaf |
CycleIterator.current |
Leaf |
Node.leaf
Children of this node.
|
private Leaf |
Leaf.next |
private Leaf |
Leaf.prev |
private Leaf |
CycleIterator.start |
Modifier and Type | Method and Description |
---|---|
Leaf |
Leaf.getNext() |
Leaf |
Leaf.getPrev() |
Leaf |
Leaf.merge(Leaf that)
Combines two sets into one set.
|
Leaf |
CycleIterator.next() |
Modifier and Type | Method and 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 and Description |
---|---|
void |
Node.addChild(Leaf child)
|
Leaf |
Leaf.merge(Leaf that)
Combines two sets into one set.
|
Modifier and Type | Method and Description |
---|---|
private void |
NodeSet.addAll(java.lang.Iterable<Leaf> c) |
private void |
NodeSet.markRoot(java.lang.Iterable<Leaf> c,
java.util.Set<Element> rootElements)
Marks all the element children as root.
|
Constructor and Description |
---|
Attribute(org.xml.sax.Locator location,
javax.xml.namespace.QName name,
Leaf leaf) |
CycleIterator(Leaf start) |
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) |