A B C D E F G H I L M N O P R S T U V W X _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addChild(Leaf) - Method in class com.sun.tools.txw2.model.Node
- alternativeName - Variable in class com.sun.tools.txw2.model.WriterNode
-
If this node is the sole child of a pattern block, this field points to its name.
- annotate(Leaf, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- annotateAfter(Leaf, ParsedElementAnnotation) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- annotation(XSAnnotation) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- AntErrorListener - Class in com.sun.tools.txw2
- AntErrorListener(Project) - Constructor for class com.sun.tools.txw2.AntErrorListener
- attGroupDecl(XSAttGroupDecl) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- Attribute - Class in com.sun.tools.txw2.model
-
Attribute declaration.
- Attribute(Locator, QName, Leaf) - Constructor for class com.sun.tools.txw2.model.Attribute
- attributeDecl(XSAttributeDecl) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- AttributeProp - Class in com.sun.tools.txw2.model.prop
- AttributeProp(QName, JType) - Constructor for class com.sun.tools.txw2.model.prop.AttributeProp
- attributeUse(XSAttributeUse) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
B
- build(TxwOptions) - Method in interface com.sun.tools.txw2.SchemaBuilder
- build(XSSchemaSet, TxwOptions) - Static method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
C
- capitalize(String) - Static method in class com.sun.tools.txw2.NameUtil
-
Capitalizes the first character of the specified string, and de-capitalize the rest of characters.
- chain - Variable in class com.sun.tools.txw2.Main.Options
- chainMethod - Variable in class com.sun.tools.txw2.TxwOptions
-
If true, generate attribute/value methods that returns the this object for chaining.
- codeModel - Variable in class com.sun.tools.txw2.TxwOptions
- collectChildren() - Method in class com.sun.tools.txw2.model.XmlNode
-
Expand all refs and collect all children.
- com.sun.tools.txw2 - package com.sun.tools.txw2
- com.sun.tools.txw2.builder.relaxng - package com.sun.tools.txw2.builder.relaxng
-
Reads RELAX NG grammar from RNGOM and builds the model for TXW.
- com.sun.tools.txw2.builder.xsd - package com.sun.tools.txw2.builder.xsd
-
Reads XML Schema grammar from XSOM and builds the model for TXW.
- com.sun.tools.txw2.model - package com.sun.tools.txw2.model
- com.sun.tools.txw2.model.prop - package com.sun.tools.txw2.model.prop
- commentAfter(Leaf, CommentListImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- CommentListImpl - Interface in com.sun.tools.txw2.builder.relaxng
- compact - Variable in class com.sun.tools.txw2.Main.Options
- complexType(XSComplexType) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- ConsoleErrorReporter - Class in com.sun.tools.txw2
-
Prints the error to a stream.
- ConsoleErrorReporter(PrintStream) - Constructor for class com.sun.tools.txw2.ConsoleErrorReporter
- createDataMethod(JDefinedClass, JType, NodeSet, Set<Prop>) - Method in class com.sun.tools.txw2.model.Leaf
-
Creates a prop of the data value method.
D
- Data - Class in com.sun.tools.txw2.model
- Data(Locator, JType) - Constructor for class com.sun.tools.txw2.model.Data
- DatatypeFactory - Class in com.sun.tools.txw2.builder.relaxng
-
Builds
Datafrom a XML Schema datatype. - DatatypeFactory(JCodeModel) - Constructor for class com.sun.tools.txw2.builder.relaxng.DatatypeFactory
- def - Variable in class com.sun.tools.txw2.model.Ref
- Define - Class in com.sun.tools.txw2.model
-
A named pattern.
- Define(Grammar, String) - Constructor for class com.sun.tools.txw2.model.Define
E
- Element - Class in com.sun.tools.txw2.model
-
Element declaration.
- Element(Locator, QName, Leaf) - Constructor for class com.sun.tools.txw2.model.Element
- elementDecl(XSElementDecl) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- ElementProp - Class in com.sun.tools.txw2.model.prop
-
Property generated from elements.
- ElementProp(QName, JType) - Constructor for class com.sun.tools.txw2.model.prop.ElementProp
- empty(XSContentType) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- Empty - Class in com.sun.tools.txw2.model
- Empty(Locator) - Constructor for class com.sun.tools.txw2.model.Empty
- equal(String, String) - Static method in class com.sun.tools.txw2.NameUtil
-
determine if two Strings are iqual allowing null values
- equals(Object) - Method in class com.sun.tools.txw2.model.prop.ValueProp
- equalsIgnoreCase(String, String) - Static method in class com.sun.tools.txw2.NameUtil
-
determine if two Strings are equal ignoring case allowing null values
- error(SAXParseException) - Method in class com.sun.tools.txw2.AntErrorListener
- error(SAXParseException) - Method in class com.sun.tools.txw2.ConsoleErrorReporter
- error(SAXParseException) - Method in interface com.sun.tools.txw2.ErrorListener
- errorListener - Variable in class com.sun.tools.txw2.TxwOptions
-
Always non-null.
- ErrorListener - Interface in com.sun.tools.txw2
-
Used internally to report errors.
- escape(StringBuffer, String, int) - Static method in class com.sun.tools.txw2.NameUtil
-
Escapes characters is the given string so that they can be printed by only using US-ASCII characters.
- escapeURI(String) - Static method in class com.sun.tools.txw2.NameUtil
-
Escape any characters that would cause the single arg constructor of java.net.URI to complain about illegal chars.
- execute() - Method in class com.sun.tools.txw2.TxwTask
-
launch txw
- expandPattern(Leaf) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
F
- facet(XSFacet) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- fatalError(SAXParseException) - Method in class com.sun.tools.txw2.AntErrorListener
- fatalError(SAXParseException) - Method in class com.sun.tools.txw2.ConsoleErrorReporter
- fatalError(SAXParseException) - Method in interface com.sun.tools.txw2.ErrorListener
G
- get(String) - Method in class com.sun.tools.txw2.model.Grammar
- getDatatype(NodeSet) - Method in class com.sun.tools.txw2.model.Data
- getDatatype(NodeSet) - Method in class com.sun.tools.txw2.model.List
- getDatatype(NodeSet) - Method in interface com.sun.tools.txw2.model.Text
-
Obtains the Java class of this
Text. - getDatatype(NodeSet) - Method in class com.sun.tools.txw2.model.Value
- getDefinitions() - Method in class com.sun.tools.txw2.model.Grammar
- getNameClassBuilder() - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- getNext() - Method in class com.sun.tools.txw2.model.Leaf
- getParentUriPath(String) - Static method in class com.sun.tools.txw2.NameUtil
-
Calculate the parent URI path of the given URI path.
- getPrev() - Method in class com.sun.tools.txw2.model.Leaf
- getType(String, String) - Method in class com.sun.tools.txw2.builder.relaxng.DatatypeFactory
-
Decides the Java datatype from XML datatype.
- getVersion() - Static method in class com.sun.tools.txw2.Main
-
Gets the version number of TXW.
- Grammar - Class in com.sun.tools.txw2.model
-
Represents a RELAX NG grammar.
- Grammar() - Constructor for class com.sun.tools.txw2.model.Grammar
H
- hashCode() - Method in class com.sun.tools.txw2.model.prop.ValueProp
- hasOneChild() - Method in class com.sun.tools.txw2.model.Node
-
Returns true if this node has only one child node.
I
- identityConstraint(XSIdentityConstraint) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- isDigit(char) - Static method in class com.sun.tools.txw2.NameUtil
- isInline() - Method in class com.sun.tools.txw2.model.Define
-
Returns true if this define only contains one child (and thus considered inlinable.) A pattern definition is also inlineable if it's the start of the grammar (because "start" isn't a meaningful name)
- isInline() - Method in class com.sun.tools.txw2.model.Ref
- isLetter(char) - Static method in class com.sun.tools.txw2.NameUtil
- isLower(char) - Static method in class com.sun.tools.txw2.NameUtil
- isPunct(char) - Static method in class com.sun.tools.txw2.NameUtil
- isRoot - Variable in class com.sun.tools.txw2.model.Element
-
True if this element can be a root element.
- isUpper(char) - Static method in class com.sun.tools.txw2.NameUtil
- iterator() - Method in class com.sun.tools.txw2.model.Node
-
Iterates all the children.
L
- leaf - Variable in class com.sun.tools.txw2.model.Node
-
Children of this node.
- Leaf - Class in com.sun.tools.txw2.model
-
Leafs form a set (by a cyclic doubly-linked list.) - Leaf(Locator) - Constructor for class com.sun.tools.txw2.model.Leaf
- LeafElementProp - Class in com.sun.tools.txw2.model.prop
- LeafElementProp(QName, JType) - Constructor for class com.sun.tools.txw2.model.prop.LeafElementProp
- List - Class in com.sun.tools.txw2.model
- List(Locator, Leaf) - Constructor for class com.sun.tools.txw2.model.List
- listSimpleType(XSListSimpleType) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- location - Variable in class com.sun.tools.txw2.model.Leaf
-
Source location where this leaf was defined.
M
- main(String[]) - Static method in class com.sun.tools.txw2.Main
- Main - Class in com.sun.tools.txw2
-
Programatic entry point to the TXW compiler.
- Main(TxwOptions) - Constructor for class com.sun.tools.txw2.Main
- Main.Options - Class in com.sun.tools.txw2
- makeAnnotations(CommentListImpl, Context) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeAttribute(NameClass, Leaf, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeChoice(List<Leaf>, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeCommentList() - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeDataPatternBuilder(String, String, LocatorImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeElement(NameClass, Leaf, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeElementAnnotationBuilder(String, String, String, LocatorImpl, CommentListImpl, Context) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeEmpty(LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeErrorPattern() - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeExternalRef(Parseable, String, String, Scope<Leaf, ParsedElementAnnotation, LocatorImpl, AnnotationsImpl, CommentListImpl>, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeGrammar(Scope<Leaf, ParsedElementAnnotation, LocatorImpl, AnnotationsImpl, CommentListImpl>) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeGroup(List<Leaf>, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeInterleave(List<Leaf>, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeList(Leaf, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeLocation(String, int, int) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeMixed(Leaf, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeNotAllowed(LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeOneOrMore(Leaf, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeOptional(Leaf, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeText(LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeValue(String, String, String, Context, String, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- makeZeroOrMore(Leaf, LocatorImpl, AnnotationsImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- merge(Leaf) - Method in class com.sun.tools.txw2.model.Leaf
-
Combines two sets into one set.
- modelGroup(XSModelGroup) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- modelGroupDecl(XSModelGroupDecl) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
N
- name - Variable in class com.sun.tools.txw2.model.Define
- name - Variable in class com.sun.tools.txw2.model.Value
-
Constant name.
- name - Variable in class com.sun.tools.txw2.model.XmlNode
-
Name of the attribute/element.
- NameUtil - Class in com.sun.tools.txw2
- NameUtil() - Constructor for class com.sun.tools.txw2.NameUtil
- nextBreak(String, int) - Static method in class com.sun.tools.txw2.NameUtil
- Node - Class in com.sun.tools.txw2.model
- Node(Locator, Leaf) - Constructor for class com.sun.tools.txw2.model.Node
- nodeSet - Variable in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- NodeSet - Class in com.sun.tools.txw2.model
-
Root of the model.
- NodeSet(TxwOptions, Leaf) - Constructor for class com.sun.tools.txw2.model.NodeSet
- noPackageNamespace - Variable in class com.sun.tools.txw2.TxwOptions
-
If true, the generated code will not use the package-level
XmlNamespaceannotation. - normalizeUriPath(String) - Static method in class com.sun.tools.txw2.NameUtil
-
Calculate the normalized form of the given uriPath.
- notation(XSNotation) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
O
- Options() - Constructor for class com.sun.tools.txw2.Main.Options
- output - Variable in class com.sun.tools.txw2.Main.Options
P
- particle(XSParticle) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- pkg - Variable in class com.sun.tools.txw2.Main.Options
- Prop - Class in com.sun.tools.txw2.model.prop
-
Immutable object that captures the characterstic of the generated writer method.
- Prop() - Constructor for class com.sun.tools.txw2.model.prop.Prop
R
- Ref - Class in com.sun.tools.txw2.model
-
A reference to a named pattern.
- Ref(Locator, Define) - Constructor for class com.sun.tools.txw2.model.Ref
- Ref(Locator, Grammar, String) - Constructor for class com.sun.tools.txw2.model.Ref
- restrictionSimpleType(XSRestrictionSimpleType) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- run(TxwOptions) - Static method in class com.sun.tools.txw2.Main
- run(String[]) - Static method in class com.sun.tools.txw2.Main
S
- schema(XSSchema) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- SchemaBuilder - Interface in com.sun.tools.txw2
-
Encapsulation of the schema file and the builder.
- SchemaBuilderImpl - Class in com.sun.tools.txw2.builder.relaxng
-
Builds a model from a RELAX NG grammar.
- SchemaBuilderImpl(JCodeModel) - Constructor for class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
- schemaSet - Variable in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- scope - Variable in class com.sun.tools.txw2.model.Define
- setDestdir(File) - Method in class com.sun.tools.txw2.TxwTask
-
parse @destdir
- setMethodChaining(boolean) - Method in class com.sun.tools.txw2.TxwTask
-
parse @methodChaining
- setPackage(String) - Method in class com.sun.tools.txw2.TxwTask
-
Parse @package
- setSchema(File) - Method in class com.sun.tools.txw2.TxwTask
-
parse @schema
- setSyntax(String) - Method in class com.sun.tools.txw2.TxwTask
-
Parse @syntax
- siblings() - Method in class com.sun.tools.txw2.model.Leaf
-
Returns the collection of all the siblings (including itself)
- simpleType(XSSimpleType) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- START - Static variable in class com.sun.tools.txw2.model.Grammar
-
The name for the start pattern
- subset(Class<T>) - Method in class com.sun.tools.txw2.model.NodeSet
T
- Text - Interface in com.sun.tools.txw2.model
-
Implemented by
Leafs that map to PCDATA in XML. - toClassName(String) - Static method in class com.sun.tools.txw2.NameUtil
- toConstantName(String) - Static method in class com.sun.tools.txw2.NameUtil
-
Formats a string into "THIS_KIND_OF_FORMAT_ABC_DEF".
- toConstantName(String[]) - Static method in class com.sun.tools.txw2.NameUtil
-
Formats a string into "THIS_KIND_OF_FORMAT_ABC_DEF".
- toInterfaceName(String) - Static method in class com.sun.tools.txw2.NameUtil
- toMethodName(String) - Static method in class com.sun.tools.txw2.NameUtil
- toMixedCaseName(String[], boolean) - Static method in class com.sun.tools.txw2.NameUtil
- toMixedCaseVariableName(String[], boolean, boolean) - Static method in class com.sun.tools.txw2.NameUtil
- toPackageName(String) - Static method in class com.sun.tools.txw2.NameUtil
- toPropertyName(String) - Static method in class com.sun.tools.txw2.NameUtil
- toString() - Method in class com.sun.tools.txw2.model.Attribute
- toString() - Method in class com.sun.tools.txw2.model.Define
- toString() - Method in class com.sun.tools.txw2.model.Element
- toVariableName(String) - Static method in class com.sun.tools.txw2.NameUtil
- toWordList(String) - Static method in class com.sun.tools.txw2.NameUtil
-
Tokenizes a string into words and capitalizes the first character of each word.
- TxwOptions - Class in com.sun.tools.txw2
-
Controls the various aspects of the TXW generation.
- TxwOptions() - Constructor for class com.sun.tools.txw2.TxwOptions
- TxwTask - Class in com.sun.tools.txw2
-
Ant task interface for txw compiler.
- TxwTask() - Constructor for class com.sun.tools.txw2.TxwTask
- type - Variable in class com.sun.tools.txw2.model.Data
-
The Java representation of the datatype.
- type - Variable in class com.sun.tools.txw2.model.Value
-
The underlying datatype, in case we need to revert to
Data.
U
- unionSimpleType(XSUnionSimpleType) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- usesComments() - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
V
- Value - Class in com.sun.tools.txw2.model
-
A constant value.
- Value(Locator, JType, String) - Constructor for class com.sun.tools.txw2.model.Value
- ValueProp - Class in com.sun.tools.txw2.model.prop
- ValueProp(JType) - Constructor for class com.sun.tools.txw2.model.prop.ValueProp
W
- warning(SAXParseException) - Method in class com.sun.tools.txw2.AntErrorListener
- warning(SAXParseException) - Method in class com.sun.tools.txw2.ConsoleErrorReporter
- warning(SAXParseException) - Method in interface com.sun.tools.txw2.ErrorListener
- wildcard(XSWildcard) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- write(TxwOptions) - Method in class com.sun.tools.txw2.model.NodeSet
-
Generate code
- WriterNode - Class in com.sun.tools.txw2.model
-
The
Nodethat maps to the program element. - WriterNode(Locator, Leaf) - Constructor for class com.sun.tools.txw2.model.WriterNode
X
- xml - Variable in class com.sun.tools.txw2.Main.Options
- XmlNode - Class in com.sun.tools.txw2.model
- XmlNode(Locator, QName, Leaf) - Constructor for class com.sun.tools.txw2.model.XmlNode
- XmlSchemaBuilder - Class in com.sun.tools.txw2.builder.xsd
- xpath(XSXPath) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
- xsd - Variable in class com.sun.tools.txw2.Main.Options
_
- _package - Variable in class com.sun.tools.txw2.TxwOptions
-
The package to put the generated code into.
All Classes All Packages