asia.redact.bracket.properties
Class GenerateXMLNodeVisitor
java.lang.Object
asia.redact.bracket.properties.GenerateXMLNodeVisitor
- All Implemented Interfaces:
- NodeVisitor
public class GenerateXMLNodeVisitor
- extends Object
- implements NodeVisitor
Format properties into xml. The default namespace is http://code.google.com/p/bracket-properties
Not all properties may be amenable to this representation.
- Author:
- Dave
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lineSeparator
static final String lineSeparator
NS
final String NS
- See Also:
- Constant Field Values
writer
final Writer writer
level
int level
set
final HashSet<Node> set
GenerateXMLNodeVisitor
public GenerateXMLNodeVisitor(Writer writer)
pre
public void pre(Node node)
- Specified by:
pre in interface NodeVisitor
action
public void action(Node node)
- Specified by:
action in interface NodeVisitor
post
public void post(Node node)
- Specified by:
post in interface NodeVisitor
setLevel
public void setLevel(int level)
- Specified by:
setLevel in interface NodeVisitor
spaces
private String spaces()
Copyright © 2011-2013 David R. Smith. All Rights Reserved.