|
|||||||||
| Home >> All >> org >> progeeks >> meta >> [ xml overview ] | PREV NEXT | ||||||||
C
- CTX_BODY - Static variable in class org.progeeks.meta.xml.XmlPrintWriter
- CTX_COMMENT - Static variable in class org.progeeks.meta.xml.XmlPrintWriter
- CTX_DATA - Static variable in class org.progeeks.meta.xml.XmlPrintWriter
- CTX_TAG - Static variable in class org.progeeks.meta.xml.XmlPrintWriter
- close() - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Automatically finished writing any in-progess tags and then closes the file.
- closeBlock() - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Closes the current tag or the current comment block depending on what block is currently open.
- closeComment() - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Closes the comment block.
- closeDataBlock() - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Closes a CDATA block.
- closeTag() - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Closes the current tag if open.
- context - Variable in class org.progeeks.meta.xml.XmlPrintWriter
- Holds the current context mode to keep track of whether or not we are in a tag, a comment, a CDATA block, or just normal body text.
D
- DefaultXmlPropertyRenderer - class org.progeeks.meta.xml.DefaultXmlPropertyRenderer.
- Renders a single XML property by looking an appropriate property format.
- DefaultXmlPropertyRenderer() - Constructor for class org.progeeks.meta.xml.DefaultXmlPropertyRenderer
- defaultRenderer - Variable in class org.progeeks.meta.xml.XmlRenderingEngine
E
- emptyRegistry - Static variable in class org.progeeks.meta.xml.XmlRenderingEngine
- encodeXml(String, boolean) - Static method in class org.progeeks.meta.xml.XmlPrintWriter
- Returns an encoded safe string for the specified value.
- endLine() - Method in class org.progeeks.meta.xml.IndentPrintWriter
- Ends the current line and sets up for a new indent.
F
- fields - Variable in class org.progeeks.meta.xml.XmlMetaObjectRenderer
- formats - Variable in class org.progeeks.meta.xml.XmlRenderingEngine
G
- getFormatRegistry() - Method in class org.progeeks.meta.xml.XmlRenderingEngine
- Returns this factory engine's format registry.
- getRenderer(PropertyType, Object) - Method in class org.progeeks.meta.xml.XmlRenderingEngine
- Returns the renderer for the specified property type.
- getSpecificType(PropertyType, Object) - Method in class org.progeeks.meta.xml.XmlRenderingEngine
- Returns the most specific property type possible for the specified type and value that would return a valid renderer.
H
- hasAttributes - Variable in class org.progeeks.meta.xml.XmlPrintWriter
- True if attributes have been written for the current tag.
I
- IndentPrintWriter - class org.progeeks.meta.xml.IndentPrintWriter.
- PrintWriter implementation that keeps track of an indent state.
- IndentPrintWriter(Writer) - Constructor for class org.progeeks.meta.xml.IndentPrintWriter
- indent - Variable in class org.progeeks.meta.xml.IndentPrintWriter
- indentOverride - Variable in class org.progeeks.meta.xml.IndentPrintWriter
- indentStack - Variable in class org.progeeks.meta.xml.IndentPrintWriter
- isAttribute() - Method in class org.progeeks.meta.xml.DefaultXmlPropertyRenderer
- Returns true if the property value can be rendered as an attribute.
- isAttribute() - Method in class org.progeeks.meta.xml.ListXmlPropertyRenderer
- Returns false, Lists cannot be rendered as attributes.
- isAttribute() - Method in class org.progeeks.meta.xml.XmlMetaObjectRenderer
- Returns true if the property value can be rendered as an attribute.
- isAttribute() - Method in interface org.progeeks.meta.xml.XmlPropertyRenderer
- Returns true if the property value can be rendered as an attribute.
- isEncodable(int) - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Returns true if the specified character should be encoded.
L
- ListXmlPropertyRenderer - class org.progeeks.meta.xml.ListXmlPropertyRenderer.
- Renders a List-valued XML by outputting individual elements.
- ListXmlPropertyRenderer() - Constructor for class org.progeeks.meta.xml.ListXmlPropertyRenderer
M
- main(String[]) - Static method in class org.progeeks.meta.xml.XmlPrintWriter
N
- newLine - Variable in class org.progeeks.meta.xml.IndentPrintWriter
O
- openTag - Variable in class org.progeeks.meta.xml.XmlPrintWriter
- The name of the currently open tag or null if there is no open tag.
- org.progeeks.meta.xml - package org.progeeks.meta.xml
P
- popIndent() - Method in class org.progeeks.meta.xml.IndentPrintWriter
- Pops an indent off of the indent stack.
- popTag() - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Prints the closing element for the current tag and pops the indent.
- popTag(String) - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Prints the closing elements for the stacked tags until the specified tag is reached and popped.
- printAttribute(String, String) - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Writes the specified attribute to the current tag if it is still open.
- printComment(String) - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Prints the specified string as an enclosed comment.
- printTag(String) - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Prints the specified tag in single-element form, ie:
- println() - Method in class org.progeeks.meta.xml.IndentPrintWriter
- Resets the new line state and outputs a line separator.
- pushIndent() - Method in class org.progeeks.meta.xml.IndentPrintWriter
- Pushes another indent onto the indent stack.
- pushIndent(String) - Method in class org.progeeks.meta.xml.IndentPrintWriter
- Pushes a custom indent onto the indent stack.
- pushTag(String) - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Prints the tag start and sets up the indent for nesting.
R
- registerRenderer(PropertyType, XmlPropertyRenderer) - Method in class org.progeeks.meta.xml.XmlRenderingEngine
- Registers a renderer to deal with a specific property type.
- registerRenderer(MetaClass, XmlPropertyRenderer) - Method in class org.progeeks.meta.xml.XmlRenderingEngine
- Registers a renderer to deal with a specific meta-class.
- registerRenderer(Class, XmlPropertyRenderer) - Method in class org.progeeks.meta.xml.XmlRenderingEngine
- Registers a renderer to deal with a specific base type.
- render(Object, PropertyType, XmlRenderingEngine, IndentPrintWriter) - Method in class org.progeeks.meta.xml.DefaultXmlPropertyRenderer
- Renders the specified Mutator's value to the specified writer.
- render(Object, PropertyType, XmlRenderingEngine, IndentPrintWriter) - Method in class org.progeeks.meta.xml.ListXmlPropertyRenderer
- Renders the specified Mutator's value to the specified writer.
- render(Object, PropertyType, XmlRenderingEngine, IndentPrintWriter) - Method in class org.progeeks.meta.xml.XmlMetaObjectRenderer
- Renders the specified Mutator's value to the specified writer.
- render(Object, PropertyType, XmlRenderingEngine, IndentPrintWriter) - Method in interface org.progeeks.meta.xml.XmlPropertyRenderer
- Renders the specified Mutator's value to the specified writer.
- renderXml(MetaObject, Writer) - Method in class org.progeeks.meta.xml.XmlRenderingEngine
- Looks up the appropriate renderers and generates XML output for the specified meta-object.
- renderXml(Collection, String, Writer) - Method in class org.progeeks.meta.xml.XmlRenderingEngine
- Looks up the appropriate renderers and generates XML output for the specified collection of meta-objects.
- renderers - Variable in class org.progeeks.meta.xml.XmlRenderingEngine
S
- separator - Variable in class org.progeeks.meta.xml.IndentPrintWriter
- setFormatRegistry(FormatRegistry) - Method in class org.progeeks.meta.xml.XmlRenderingEngine
- Sets the format registry that will be used to resolve formatters for types without specific renderers.
- setOverrideIndent(boolean) - Method in class org.progeeks.meta.xml.IndentPrintWriter
- Set to true to override the current indent.
- singleTag - Variable in class org.progeeks.meta.xml.XmlPrintWriter
- Set to true if the current tag is in single tag
form, ie:
This is necessary for auto-closing the tag. - startComment() - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Starts a comment block.
- startDataBlock() - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Starts a CDATA block.
T
- tags - Variable in class org.progeeks.meta.xml.XmlPrintWriter
W
- write(int) - Method in class org.progeeks.meta.xml.IndentPrintWriter
- Overridden to set the new line state to false and to write the indent level if newLine is true.
- write(char[], int, int) - Method in class org.progeeks.meta.xml.IndentPrintWriter
- Overridden to set the new line state to false and to write the indent level if newLine is true.
- write(String, int, int) - Method in class org.progeeks.meta.xml.IndentPrintWriter
- Overridden to set the new line state to false and to write the indent level if newLine is true.
- write(int) - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Overridden to provide XML encoding when appropriate.
- write(char[], int, int) - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Overridden to provide XML encoding when appropriate.
- write(String, int, int) - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Overridden to provide XML encoding when appropriate.
- writeEncoded(int) - Method in class org.progeeks.meta.xml.XmlPrintWriter
- Writes the specified value out as an encoded string if necessary.
X
- XmlMetaObjectRenderer - class org.progeeks.meta.xml.XmlMetaObjectRenderer.
- Default renderer for generating output for a meta-object.
- XmlMetaObjectRenderer() - Constructor for class org.progeeks.meta.xml.XmlMetaObjectRenderer
- Creates a renderer that will renderer all the fields of a meta-object.
- XmlMetaObjectRenderer(List) - Constructor for class org.progeeks.meta.xml.XmlMetaObjectRenderer
- Creates a renderer that will renderer the specified fields of a meta-object.
- XmlPrintWriter - class org.progeeks.meta.xml.XmlPrintWriter.
- Extends the functionality of the IndentPrintWriter to keep track of tag state and provide attribute support, etc..
- XmlPrintWriter(Writer) - Constructor for class org.progeeks.meta.xml.XmlPrintWriter
- XmlPropertyRenderer - interface org.progeeks.meta.xml.XmlPropertyRenderer.
- Renders a single XML property
- XmlRenderingEngine - class org.progeeks.meta.xml.XmlRenderingEngine.
- Renders MetaObjects to XML.
- XmlRenderingEngine() - Constructor for class org.progeeks.meta.xml.XmlRenderingEngine
C D E F G H I L M N O P R S T W X
|
|||||||||
| Home >> All >> org >> progeeks >> meta >> [ xml overview ] | PREV NEXT | ||||||||