| Modifier and Type | Class and Description |
|---|---|
| protected static interface |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private int | |
| private static final Pattern | |
| private final PrintWriter | |
| private static final List | |
| private int | |
| private static final String | |
| private boolean | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| protected void | |
| private static void | |
| protected static boolean | |
| public static String | |
| public static String | |
| protected static boolean | |
| protected void | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected void | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| public void | |
| protected String | |
| protected String | |
| public void | |
| protected void | |
| protected boolean | |
| public void | |
| protected Stream | |
| protected boolean | |
| protected void |
| attributePhase | back to summary |
|---|---|
| private boolean attributePhase | |
| childIndex | back to summary |
|---|---|
| private int childIndex | |
| ESC_CHARS | back to summary |
|---|---|
| private static final Pattern ESC_CHARS | |
| fw | back to summary |
|---|---|
| private final PrintWriter fw | |
| handler | back to summary |
|---|---|
| private static final List<Map. | |
| indent | back to summary |
|---|---|
| private int indent | |
| TABS | back to summary |
|---|---|
| private static final String TABS | |
| withComments | back to summary |
|---|---|
| private boolean withComments | |
| ZEROS | back to summary |
|---|---|
| private static final String ZEROS | |
| GenericRecordXmlWriter | back to summary |
|---|---|
| public GenericRecordXmlWriter(File fileName) throws IOException | |
| GenericRecordXmlWriter | back to summary |
|---|---|
| public GenericRecordXmlWriter(Appendable buffer) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| closeName | back to summary |
|---|---|
| protected void closeName(String name) | |
| handler | back to summary |
|---|---|
| private static void handler(Class<?> c, GenericRecordXmlWriter. | |
| isComplex | back to summary |
|---|---|
| protected static boolean isComplex(Object obj) | |
| marshal | back to summary |
|---|---|
| public static String marshal(GenericRecord record) | |
| marshal | back to summary |
|---|---|
| public static String marshal(GenericRecord record, boolean withComments) | |
| matchInstanceOrArray | back to summary |
|---|---|
| protected static boolean matchInstanceOrArray(Class<?> key, Object instance) | |
| openName | back to summary |
|---|---|
| protected void openName(String name) | |
| printAffineTransform | back to summary |
|---|---|
| protected boolean printAffineTransform(String name, Object o) | |
| printAnnotatedFlag | back to summary |
|---|---|
| protected boolean printAnnotatedFlag(String name, Object o) | |
| printArray | back to summary |
|---|---|
| protected boolean printArray(String name, Object o) | |
| printBoolean | back to summary |
|---|---|
| protected boolean printBoolean(String name, Object o) | |
| printBufferedImage | back to summary |
|---|---|
| protected boolean printBufferedImage(String name, Object o) | |
| printBytes | back to summary |
|---|---|
| protected boolean printBytes(String name, Object o) | |
| printColor | back to summary |
|---|---|
| protected boolean printColor(String name, Object o) | |
| printDimension | back to summary |
|---|---|
| protected boolean printDimension(String name, Object o) | |
| printGenericRecord | back to summary |
|---|---|
| protected void printGenericRecord(String name, Object value) | |
| printList | back to summary |
|---|---|
| protected boolean printList(String name, Object o) | |
| printNumber | back to summary |
|---|---|
| protected boolean printNumber(String name, Object o) | |
| printObject | back to summary |
|---|---|
| protected boolean printObject(String name, Object o) | |
| printPath | back to summary |
|---|---|
| protected boolean printPath(String name, Object o) | |
| printPoint | back to summary |
|---|---|
| protected boolean printPoint(String name, Object o) | |
| printRectangle | back to summary |
|---|---|
| protected boolean printRectangle(String name, Object o) | |
| setWithComments | back to summary |
|---|---|
| public void setWithComments(boolean withComments) | |
| tabs | back to summary |
|---|---|
| protected String tabs() | |
| trimHex | back to summary |
|---|---|
| protected String trimHex(final long l, final int size) | |
| write | back to summary |
|---|---|
| public void write(GenericRecord record) | |
| write | back to summary |
|---|---|
| protected void write(final String name, GenericRecord record) | |
| writeChildren | back to summary |
|---|---|
| protected boolean writeChildren(GenericRecord record, boolean hasComplexProperties) | |
| writeError | back to summary |
|---|---|
| public void writeError(String errorMsg) | |
| writeProp | back to summary |
|---|---|
protected Stream
| |
| writeProperties | back to summary |
|---|---|
| protected boolean writeProperties(GenericRecord record) | |
| writeValue | back to summary |
|---|---|
| protected void writeValue(String name, Object value) | |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true, if the element was handled and output produced,
The provided methods can be overridden and an implementation can return false,
if the element hasn't been written to the streamthe parent record, applied via instance method reference record, String the name of the property name, Object the value of the property object)Handler method |
| back to summary | |
|---|---|
| public boolean print(GenericRecordXmlWriter record, String name, Object object) Handler method
| |