Skip navigation links
A B C D E F G H I L M N O P R S T U V W X _ 

A

addChild(Leaf) - Method in class com.sun.tools.txw2.model.Node
Adds the given Leaf and their sibling as children of this Node.
addDatatypeWriter(DatatypeWriter<?>) - Method in class com.sun.xml.txw2.Document
Defines additional user object -> string conversion logic.
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
 
arguments - Variable in class com.sun.tools.txw2.Main.Options
 
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

beginStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.DomSerializer
 
beginStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.DumpSerializer
 
beginStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.SaxSerializer
 
beginStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.StaxSerializer
 
beginStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.StreamSerializer
 
beginStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.TXWSerializer
 
beginStartTag(String, String, String) - Method in interface com.sun.xml.txw2.output.XmlSerializer
Begins writing a start tag.
block() - Method in interface com.sun.xml.txw2.TypedXmlWriter
Blocks the writing of the start tag so that new attributes can be added even after child elements are appended.
build(XSSchemaSet, TxwOptions) - Static method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
 
build(TxwOptions) - Method in interface com.sun.tools.txw2.SchemaBuilder
 
BUILTIN - Static variable in interface com.sun.xml.txw2.DatatypeWriter
 

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.
cdata(StringBuilder) - Method in class com.sun.xml.txw2.output.DomSerializer
 
cdata(StringBuilder) - Method in class com.sun.xml.txw2.output.DumpSerializer
 
cdata(StringBuilder) - Method in class com.sun.xml.txw2.output.SaxSerializer
 
cdata(StringBuilder) - Method in class com.sun.xml.txw2.output.StaxSerializer
 
cdata(StringBuilder) - Method in class com.sun.xml.txw2.output.StreamSerializer
 
cdata(StringBuilder) - Method in class com.sun.xml.txw2.output.TXWSerializer
 
cdata(StringBuilder) - Method in interface com.sun.xml.txw2.output.XmlSerializer
Writes CDATA.
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.
CharacterEscapeHandler - Interface in com.sun.xml.txw2.output
Performs character escaping and write the result to the output.
characters(char[], int, int) - Method in class com.sun.xml.txw2.output.DataWriter
Write a sequence of characters.
characters(char[], int, int) - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
Write a sequence of characters.
characters(char[], int, int) - Method in class com.sun.xml.txw2.output.XMLWriter
Write character data.
characters(String) - Method in class com.sun.xml.txw2.output.XMLWriter
Write a string of character data, with XML escaping.
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
 
com.sun.xml.txw2 - package com.sun.xml.txw2
TXW runtime.
com.sun.xml.txw2.annotation - package com.sun.xml.txw2.annotation
Defines a set of annotations that can be used on TypedXmlWriter interfaces.
com.sun.xml.txw2.output - package com.sun.xml.txw2.output
Defines XmlSerializer and its built-in implementations.
comment(char[], int, int) - Method in class com.sun.xml.txw2.output.DataWriter
 
comment(StringBuilder) - Method in class com.sun.xml.txw2.output.DomSerializer
 
comment(StringBuilder) - Method in class com.sun.xml.txw2.output.DumpSerializer
 
comment(char[], int, int) - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
 
comment(StringBuilder) - Method in class com.sun.xml.txw2.output.SaxSerializer
 
comment(StringBuilder) - Method in class com.sun.xml.txw2.output.StaxSerializer
 
comment(StringBuilder) - Method in class com.sun.xml.txw2.output.StreamSerializer
 
comment(StringBuilder) - Method in class com.sun.xml.txw2.output.TXWSerializer
 
comment(StringBuilder) - Method in interface com.sun.xml.txw2.output.XmlSerializer
Writes a comment.
comment(char[], int, int) - Method in class com.sun.xml.txw2.output.XMLWriter
 
commentAfter(Leaf, CommentListImpl) - Method in class com.sun.tools.txw2.builder.relaxng.SchemaBuilderImpl
 
CommentListImpl - Interface in com.sun.tools.txw2.builder.relaxng
 
commit() - Method in interface com.sun.xml.txw2.TypedXmlWriter
Commits this element (and all its descendants) to the output.
commit(boolean) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Commits this element (and all its descendants) to the output.
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
 
create(Class<T>, XmlSerializer) - Static method in class com.sun.xml.txw2.TXW
Creates a new TypedXmlWriter to write a new instance of a document.
create(QName, Class<T>, XmlSerializer) - Static method in class com.sun.xml.txw2.TXW
Creates a new TypedXmlWriter to write a new instance of a document.
createDataMethod(JDefinedClass, JType, NodeSet, Set<Prop>) - Method in class com.sun.tools.txw2.model.Leaf
Creates a prop of the data value method.
createSerializer(Result) - Static method in class com.sun.xml.txw2.output.ResultFactory
Factory method for producing XmlSerializer) from {@link javax.xml.transform.Result}.

D

Data - Class in com.sun.tools.txw2.model
 
Data(Locator, JType) - Constructor for class com.sun.tools.txw2.model.Data
 
dataElement(String, String, String, Attributes, String) - Method in class com.sun.xml.txw2.output.XMLWriter
Write an element with character data content.
dataElement(String, String, String) - Method in class com.sun.xml.txw2.output.XMLWriter
Write an element with character data content but no attributes.
dataElement(String, String) - Method in class com.sun.xml.txw2.output.XMLWriter
Write an element with character data content but no attributes or Namespace URI.
DatatypeFactory - Class in com.sun.tools.txw2.builder.relaxng
Builds Data from a XML Schema datatype.
DatatypeFactory(JCodeModel) - Constructor for class com.sun.tools.txw2.builder.relaxng.DatatypeFactory
 
DatatypeWriter<DT> - Interface in com.sun.xml.txw2
Pluggable datatype writer.
DataWriter - Class in com.sun.xml.txw2.output
Write data- or field-oriented XML.
DataWriter(Writer, String, CharacterEscapeHandler) - Constructor for class com.sun.xml.txw2.output.DataWriter
Create a new data writer for the specified output.
DataWriter(Writer, String) - Constructor for class com.sun.xml.txw2.output.DataWriter
 
DataWriter(Writer) - Constructor for class com.sun.xml.txw2.output.DataWriter
 
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
 
Document - Class in com.sun.xml.txw2
Coordinates the entire writing process.
DomSerializer - Class in com.sun.xml.txw2.output
DomSerializer(Node) - Constructor for class com.sun.xml.txw2.output.DomSerializer
 
DomSerializer(DOMResult) - Constructor for class com.sun.xml.txw2.output.DomSerializer
 
DumbEscapeHandler - Class in com.sun.xml.txw2.output
Escape everything above the US-ASCII code range.
DumpSerializer - Class in com.sun.xml.txw2.output
Shows the call sequence of XmlSerializer methods.
DumpSerializer(PrintStream) - Constructor for class com.sun.xml.txw2.output.DumpSerializer
 

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
 
endCDATA() - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
 
endCDATA() - Method in class com.sun.xml.txw2.output.XMLWriter
 
endDocument() - Method in class com.sun.xml.txw2.output.DomSerializer
 
endDocument() - Method in class com.sun.xml.txw2.output.DumpSerializer
 
endDocument() - Method in class com.sun.xml.txw2.output.SaxSerializer
 
endDocument() - Method in class com.sun.xml.txw2.output.StaxSerializer
 
endDocument() - Method in class com.sun.xml.txw2.output.StreamSerializer
 
endDocument() - Method in class com.sun.xml.txw2.output.TXWSerializer
 
endDocument() - Method in interface com.sun.xml.txw2.output.XmlSerializer
The last method to be called.
endDocument() - Method in class com.sun.xml.txw2.output.XMLWriter
Write a newline at the end of the document.
endDTD() - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
 
endDTD() - Method in class com.sun.xml.txw2.output.XMLWriter
 
endElement(String, String, String) - Method in class com.sun.xml.txw2.output.DataWriter
Write an end tag.
endElement(String, String, String) - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
Write an end tag.
endElement(String, String, String) - Method in class com.sun.xml.txw2.output.XMLWriter
Write an end tag.
endElement(String, String) - Method in class com.sun.xml.txw2.output.XMLWriter
End an element without a qname.
endElement(String) - Method in class com.sun.xml.txw2.output.XMLWriter
End an element without a Namespace URI or qname.
endEntity(String) - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
 
endEntity(String) - Method in class com.sun.xml.txw2.output.XMLWriter
 
endStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.DomSerializer
 
endStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.DumpSerializer
 
endStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.SaxSerializer
 
endStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.StaxSerializer
 
endStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.StreamSerializer
 
endStartTag(String, String, String) - Method in class com.sun.xml.txw2.output.TXWSerializer
 
endStartTag(String, String, String) - Method in interface com.sun.xml.txw2.output.XmlSerializer
Completes the start tag.
endTag() - Method in class com.sun.xml.txw2.output.DomSerializer
 
endTag() - Method in class com.sun.xml.txw2.output.DumpSerializer
 
endTag() - Method in class com.sun.xml.txw2.output.SaxSerializer
 
endTag() - Method in class com.sun.xml.txw2.output.StaxSerializer
 
endTag() - Method in class com.sun.xml.txw2.output.StreamSerializer
 
endTag() - Method in class com.sun.xml.txw2.output.TXWSerializer
 
endTag() - Method in interface com.sun.xml.txw2.output.XmlSerializer
Writes an end tag.
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 - Interface in com.sun.tools.txw2
Used internally to report errors.
errorListener - Variable in class com.sun.tools.txw2.TxwOptions
Always non-null.
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.
escape(char[], int, int, boolean, Writer) - Method in interface com.sun.xml.txw2.output.CharacterEscapeHandler
 
escape(char[], int, int, boolean, Writer) - Method in class com.sun.xml.txw2.output.DumbEscapeHandler
 
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
 
flush() - Method in class com.sun.xml.txw2.output.DomSerializer
 
flush() - Method in class com.sun.xml.txw2.output.DumpSerializer
 
flush() - Method in class com.sun.xml.txw2.output.SaxSerializer
 
flush() - Method in class com.sun.xml.txw2.output.StaxSerializer
 
flush() - Method in class com.sun.xml.txw2.output.StreamSerializer
 
flush() - Method in class com.sun.xml.txw2.output.TXWSerializer
 
flush() - Method in interface com.sun.xml.txw2.output.XmlSerializer
Flush the buffer.
flush() - Method in class com.sun.xml.txw2.output.XMLWriter
Flush the output.

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
 
getDocument() - Method in interface com.sun.xml.txw2.TypedXmlWriter
Gets the Document object that this writer is writing to.
getIndentStep() - Method in class com.sun.xml.txw2.output.DataWriter
Deprecated.
Only return the length of the indent string.
getIndentStep() - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
Deprecated.
Only return the length of the indent string.
getIndentStep() - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
Deprecated.
Only return the length of the indent string.
getLexicalHandler() - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
 
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.
getPrefix(String) - Method in interface com.sun.xml.txw2.NamespaceResolver
Allocates a prefix for the specified URI and returns it.
getPrev() - Method in class com.sun.tools.txw2.model.Leaf
 
getSystemId() - Method in class com.sun.xml.txw2.output.TXWResult
 
getType(String, String) - Method in class com.sun.tools.txw2.builder.relaxng.DatatypeFactory
Decides the Java datatype from XML datatype.
getType() - Method in interface com.sun.xml.txw2.DatatypeWriter
Gets the Java class that this writer can write.
getVersion() - Static method in class com.sun.tools.txw2.Main
Gets the version number of TXW.
getWriter() - Method in class com.sun.xml.txw2.output.TXWResult
 
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
 
ignorableWhitespace(char[], int, int) - Method in class com.sun.xml.txw2.output.XMLWriter
Write ignorable whitespace.
IllegalAnnotationException - Exception in com.sun.xml.txw2
Signals an incorrect use of TXW annotations.
IllegalAnnotationException(String) - Constructor for exception com.sun.xml.txw2.IllegalAnnotationException
 
IllegalAnnotationException(Throwable) - Constructor for exception com.sun.xml.txw2.IllegalAnnotationException
 
IllegalAnnotationException(String, Throwable) - Constructor for exception com.sun.xml.txw2.IllegalAnnotationException
 
IllegalSignatureException - Exception in com.sun.xml.txw2
Signals incorrect method signatures on TypedXmlWriter-derived interfaces.
IllegalSignatureException(String) - Constructor for exception com.sun.xml.txw2.IllegalSignatureException
 
IllegalSignatureException(String, Throwable) - Constructor for exception com.sun.xml.txw2.IllegalSignatureException
 
IllegalSignatureException(Throwable) - Constructor for exception com.sun.xml.txw2.IllegalSignatureException
 
IndentingXMLFilter - Class in com.sun.xml.txw2.output
XMLFilterImpl that does indentation to SAX events.
IndentingXMLFilter() - Constructor for class com.sun.xml.txw2.output.IndentingXMLFilter
 
IndentingXMLFilter(ContentHandler) - Constructor for class com.sun.xml.txw2.output.IndentingXMLFilter
 
IndentingXMLFilter(ContentHandler, LexicalHandler) - Constructor for class com.sun.xml.txw2.output.IndentingXMLFilter
 
IndentingXMLStreamWriter - Class in com.sun.xml.txw2.output
 
IndentingXMLStreamWriter(XMLStreamWriter) - Constructor for class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
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 - 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
 
leaf - Variable in class com.sun.tools.txw2.model.Node
Children of this node.
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 of Data or Value.
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 - Class in com.sun.tools.txw2
Programatic entry point to the TXW compiler.
Main(TxwOptions) - Constructor for class com.sun.tools.txw2.Main
 
main(String[]) - Static method in 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.
NamespaceResolver - Interface in com.sun.xml.txw2
Used by DatatypeWriter to declare additional namespaces.
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 is a Leaf that has children.
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 XmlNamespace annotation.
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
 
print(DT, NamespaceResolver, StringBuilder) - Method in interface com.sun.xml.txw2.DatatypeWriter
Prints the given datatype object and appends that result into the given buffer.
processingInstruction(String, String) - Method in class com.sun.xml.txw2.output.XMLWriter
Write a processing instruction.
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, Grammar, String) - Constructor for class com.sun.tools.txw2.model.Ref
 
Ref(Locator, Define) - Constructor for class com.sun.tools.txw2.model.Ref
 
reset() - Method in class com.sun.xml.txw2.output.DataWriter
Reset the writer so that it can be reused.
reset() - Method in class com.sun.xml.txw2.output.XMLWriter
Reset the writer.
restrictionSimpleType(XSRestrictionSimpleType) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
 
ResultFactory - Class in com.sun.xml.txw2.output
Factory for producing XmlSerializers for various Result types.
run(String[]) - Static method in class com.sun.tools.txw2.Main
 
run(TxwOptions) - Static method in class com.sun.tools.txw2.Main
 

S

SaxSerializer - Class in com.sun.xml.txw2.output
SaxSerializer(ContentHandler) - Constructor for class com.sun.xml.txw2.output.SaxSerializer
 
SaxSerializer(ContentHandler, LexicalHandler) - Constructor for class com.sun.xml.txw2.output.SaxSerializer
Creates an XmlSerializer that writes SAX events.
SaxSerializer(ContentHandler, LexicalHandler, boolean) - Constructor for class com.sun.xml.txw2.output.SaxSerializer
 
SaxSerializer(SAXResult) - Constructor for class com.sun.xml.txw2.output.SaxSerializer
 
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
setEncoding(String) - Method in class com.sun.xml.txw2.output.XMLWriter
 
setHeader(String) - Method in class com.sun.xml.txw2.output.XMLWriter
Sets the header string.
setIndentStep(int) - Method in class com.sun.xml.txw2.output.DataWriter
Deprecated.
Should use the version that takes string.
setIndentStep(String) - Method in class com.sun.xml.txw2.output.DataWriter
 
setIndentStep(int) - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
Deprecated.
Should use the version that takes string.
setIndentStep(String) - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
 
setIndentStep(int) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
Deprecated.
Should use the version that takes string.
setIndentStep(String) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
setLexicalHandler(LexicalHandler) - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
 
setMethodChaining(boolean) - Method in class com.sun.tools.txw2.TxwTask
parse @methodChaining
setOutput(Writer, String) - Method in class com.sun.xml.txw2.output.XMLWriter
Set a new output destination for the document.
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
setSystemId(String) - Method in class com.sun.xml.txw2.output.TXWResult
 
setWriter(TypedXmlWriter) - Method in class com.sun.xml.txw2.output.TXWResult
 
setXmlDecl(boolean) - Method in class com.sun.xml.txw2.output.XMLWriter
Set whether the writer should print out the XML declaration (<?xml version='1.0' ...
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
startCDATA() - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
 
startCDATA() - Method in class com.sun.xml.txw2.output.XMLWriter
 
startDocument() - Method in class com.sun.xml.txw2.output.DomSerializer
 
startDocument() - Method in class com.sun.xml.txw2.output.DumpSerializer
 
startDocument() - Method in class com.sun.xml.txw2.output.SaxSerializer
 
startDocument() - Method in class com.sun.xml.txw2.output.StaxSerializer
 
startDocument() - Method in class com.sun.xml.txw2.output.StreamSerializer
 
startDocument() - Method in class com.sun.xml.txw2.output.TXWSerializer
 
startDocument() - Method in interface com.sun.xml.txw2.output.XmlSerializer
The first method to be called.
startDocument() - Method in class com.sun.xml.txw2.output.XMLWriter
Write the XML declaration at the beginning of the document.
startDTD(String, String, String) - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
 
startDTD(String, String, String) - Method in class com.sun.xml.txw2.output.XMLWriter
 
startElement(String, String, String, Attributes) - Method in class com.sun.xml.txw2.output.DataWriter
Write a start tag.
startElement(String, String, String, Attributes) - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
Write a start tag.
startElement(String, String, String, Attributes) - Method in class com.sun.xml.txw2.output.XMLWriter
Write a start tag.
startElement(String, String) - Method in class com.sun.xml.txw2.output.XMLWriter
Start a new element without a qname or attributes.
startElement(String) - Method in class com.sun.xml.txw2.output.XMLWriter
Start a new element without a qname, attributes or a Namespace URI.
startEntity(String) - Method in class com.sun.xml.txw2.output.IndentingXMLFilter
 
startEntity(String) - Method in class com.sun.xml.txw2.output.XMLWriter
 
startPrefixMapping(String, String) - Method in class com.sun.xml.txw2.output.XMLWriter
 
StaxSerializer - Class in com.sun.xml.txw2.output
XML serializer for StAX XMLStreamWriter.
StaxSerializer(XMLStreamWriter) - Constructor for class com.sun.xml.txw2.output.StaxSerializer
 
StaxSerializer(XMLStreamWriter, boolean) - Constructor for class com.sun.xml.txw2.output.StaxSerializer
 
StreamSerializer - Class in com.sun.xml.txw2.output
StreamSerializer(OutputStream) - Constructor for class com.sun.xml.txw2.output.StreamSerializer
 
StreamSerializer(OutputStream, String) - Constructor for class com.sun.xml.txw2.output.StreamSerializer
 
StreamSerializer(Writer) - Constructor for class com.sun.xml.txw2.output.StreamSerializer
 
StreamSerializer(StreamResult) - Constructor for class com.sun.xml.txw2.output.StreamSerializer
 
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.
text(StringBuilder) - Method in class com.sun.xml.txw2.output.DomSerializer
 
text(StringBuilder) - Method in class com.sun.xml.txw2.output.DumpSerializer
 
text(StringBuilder) - Method in class com.sun.xml.txw2.output.SaxSerializer
 
text(StringBuilder) - Method in class com.sun.xml.txw2.output.StaxSerializer
 
text(StringBuilder) - Method in class com.sun.xml.txw2.output.StreamSerializer
 
text(StringBuilder) - Method in class com.sun.xml.txw2.output.TXWSerializer
 
text(StringBuilder) - Method in interface com.sun.xml.txw2.output.XmlSerializer
Writes PCDATA.
theInstance - Static variable in class com.sun.xml.txw2.output.DumbEscapeHandler
 
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.
txw - Variable in class com.sun.xml.txw2.output.TXWSerializer
 
TXW - Class in com.sun.xml.txw2
Entry point to TXW.
TxwException - Exception in com.sun.xml.txw2
Signals errors in the TXW processing.
TxwException(String) - Constructor for exception com.sun.xml.txw2.TxwException
 
TxwException(Throwable) - Constructor for exception com.sun.xml.txw2.TxwException
 
TxwException(String, Throwable) - Constructor for exception com.sun.xml.txw2.TxwException
 
TxwOptions - Class in com.sun.tools.txw2
Controls the various aspects of the TXW generation.
TxwOptions() - Constructor for class com.sun.tools.txw2.TxwOptions
 
TXWResult - Class in com.sun.xml.txw2.output
Allow you to wrap TypedXmlWriter into a Result so that it can be passed to ResultFactory.
TXWResult(TypedXmlWriter) - Constructor for class com.sun.xml.txw2.output.TXWResult
 
TXWSerializer - Class in com.sun.xml.txw2.output
Dummpy implementation to pass through TypedXmlWriter to TXW
TXWSerializer(TypedXmlWriter) - Constructor for class com.sun.xml.txw2.output.TXWSerializer
 
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.
TypedXmlWriter - Interface in com.sun.xml.txw2
Defines common operations for all typed XML writers. Root of all typed XML writer interfaces.

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
writeAttribute(String, String, String, StringBuilder) - Method in class com.sun.xml.txw2.output.DomSerializer
 
writeAttribute(String, String, String, StringBuilder) - Method in class com.sun.xml.txw2.output.DumpSerializer
 
writeAttribute(String, String, String, StringBuilder) - Method in class com.sun.xml.txw2.output.SaxSerializer
 
writeAttribute(String, String, String, StringBuilder) - Method in class com.sun.xml.txw2.output.StaxSerializer
 
writeAttribute(String, String, String, StringBuilder) - Method in class com.sun.xml.txw2.output.StreamSerializer
 
writeAttribute(String, String, String, StringBuilder) - Method in class com.sun.xml.txw2.output.TXWSerializer
 
writeAttribute(String, String, String, StringBuilder) - Method in interface com.sun.xml.txw2.output.XmlSerializer
Writes an attribute.
writeCData(String) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeCharacters(String) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeCharacters(char[], int, int) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeEmptyElement(String, String) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeEmptyElement(String, String, String) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeEmptyElement(String) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeEndElement() - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
WriterNode - Class in com.sun.tools.txw2.model
The Node that maps to the program element.
WriterNode(Locator, Leaf) - Constructor for class com.sun.tools.txw2.model.WriterNode
 
writeStartDocument() - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeStartDocument(String) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeStartDocument(String, String) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeStartElement(String) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeStartElement(String, String) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeStartElement(String, String, String) - Method in class com.sun.xml.txw2.output.IndentingXMLStreamWriter
 
writeXmlns(String, String) - Method in class com.sun.xml.txw2.output.DomSerializer
 
writeXmlns(String, String) - Method in class com.sun.xml.txw2.output.DumpSerializer
 
writeXmlns(String, String) - Method in class com.sun.xml.txw2.output.SaxSerializer
 
writeXmlns(String, String) - Method in class com.sun.xml.txw2.output.StaxSerializer
 
writeXmlns(String, String) - Method in class com.sun.xml.txw2.output.StreamSerializer
 
writeXmlns(String, String) - Method in class com.sun.xml.txw2.output.TXWSerializer
 
writeXmlns(String, String) - Method in interface com.sun.xml.txw2.output.XmlSerializer
Writes a namespace declaration.

X

xml - Variable in class com.sun.tools.txw2.Main.Options
 
XmlAttribute - Annotation Type in com.sun.xml.txw2.annotation
Specifies that the invocation of the method will produce an attribute.
XmlCDATA - Annotation Type in com.sun.xml.txw2.annotation
Used along with XmlElement to write a CDATA section, instead of the normal PCDATA.
XmlElement - Annotation Type in com.sun.xml.txw2.annotation
Specifies the name of the XML element.
XmlNamespace - Annotation Type in com.sun.xml.txw2.annotation
Declares the namespace URI of the TypedXmlWriters in a package.
XmlNode - Class in com.sun.tools.txw2.model
Either an Element or Attribute.
XmlNode(Locator, QName, Leaf) - Constructor for class com.sun.tools.txw2.model.XmlNode
 
XmlSchemaBuilder - Class in com.sun.tools.txw2.builder.xsd
 
XmlSerializer - Interface in com.sun.xml.txw2.output
Low-level typeless XML writer driven from TypedXmlWriter.
XmlValue - Annotation Type in com.sun.xml.txw2.annotation
Specifies that the invocation of the method will produce a text
XMLWriter - Class in com.sun.xml.txw2.output
Filter to write an XML document from a SAX event stream.
XMLWriter(Writer, String, CharacterEscapeHandler) - Constructor for class com.sun.xml.txw2.output.XMLWriter
Create a new XML writer.
XMLWriter(Writer, String) - Constructor for class com.sun.xml.txw2.output.XMLWriter
 
xpath(XSXPath) - Method in class com.sun.tools.txw2.builder.xsd.XmlSchemaBuilder
 
xsd - Variable in class com.sun.tools.txw2.Main.Options
 

_

_attribute(String, Object) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Adds an attribute of the given name and the value.
_attribute(String, String, Object) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Adds an attribute of the given name and the value.
_attribute(QName, Object) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Adds an attribute of the given name and the value.
_cast(Class<T>) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Returns a different interface for this typed XML Writer.
_cdata(Object) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Appends CDATA section.
_comment(Object) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Appends a comment.
_element(String, Class<T>) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Appends a new child element.
_element(String, String, Class<T>) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Appends a new child element.
_element(QName, Class<T>) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Appends a new child element.
_element(Class<T>) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Appends a new child element.
_namespace(String) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Declares a new namespace URI on this element.
_namespace(String, String) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Declares a new namespace URI on this element to a specific prefix.
_namespace(String, boolean) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Declares a new namespace URI on this element.
_package - Variable in class com.sun.tools.txw2.TxwOptions
The package to put the generated code into.
_pcdata(Object) - Method in interface com.sun.xml.txw2.TypedXmlWriter
Appends text data.
A B C D E F G H I L M N O P R S T U V W X _ 
Skip navigation links

Copyright © 2017 Oracle. All rights reserved.