public class DumpAdapter extends AxmlVisitor
| Modifier and Type | Field and Description |
|---|---|
protected int |
deep |
protected Map<String,String> |
nses |
nv, TYPE_FIRST_INT, TYPE_INT_BOOLEAN, TYPE_INT_HEX, TYPE_REFERENCE, TYPE_STRING| Constructor and Description |
|---|
DumpAdapter() |
DumpAdapter(NodeVisitor nv) |
DumpAdapter(NodeVisitor nv,
int x,
Map<String,String> nses) |
| Modifier and Type | Method and Description |
|---|---|
void |
attr(String ns,
String name,
int resourceId,
int type,
Object obj)
add attribute to the node
|
NodeVisitor |
child(String ns,
String name)
create a child node
|
protected String |
getPrefix(String uri) |
void |
ns(String prefix,
String uri,
int ln)
create a ns
|
void |
text(int ln,
String value)
the node text
|
end, linepublic DumpAdapter()
public DumpAdapter(NodeVisitor nv)
public DumpAdapter(NodeVisitor nv, int x, Map<String,String> nses)
public void attr(String ns, String name, int resourceId, int type, Object obj)
NodeVisitorattr in class NodeVisitortype - NodeVisitor.TYPE_STRING or othersobj - a string for NodeVisitor.TYPE_STRING ,and Integer for otherspublic NodeVisitor child(String ns, String name)
NodeVisitorchild in class NodeVisitorpublic void ns(String prefix, String uri, int ln)
AxmlVisitorns in class AxmlVisitorpublic void text(int ln,
String value)
NodeVisitortext in class NodeVisitorCopyright © 2022 Secure Software Engineering Group - University of Paderborn. All rights reserved.