public static class Axml.Node extends NodeVisitor
| Modifier and Type | Class and Description |
|---|---|
static class |
Axml.Node.Attr |
static class |
Axml.Node.Text |
| Modifier and Type | Field and Description |
|---|---|
List<Axml.Node.Attr> |
attrs |
List<Axml.Node> |
children |
Integer |
ln |
String |
name |
String |
ns |
Axml.Node.Text |
text |
nv, TYPE_FIRST_INT, TYPE_INT_BOOLEAN, TYPE_INT_HEX, TYPE_REFERENCE, TYPE_STRING| Constructor and Description |
|---|
Node() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NodeVisitor nodeVisitor) |
void |
acceptB(NodeVisitor nodeVisitor) |
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
|
void |
line(int ln)
line number in the .xml
|
void |
text(int lineNumber,
String value)
the node text
|
endpublic List<Axml.Node.Attr> attrs
public Integer ln
public String ns
public String name
public Axml.Node.Text text
public void accept(NodeVisitor nodeVisitor)
public void acceptB(NodeVisitor nodeVisitor)
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 line(int ln)
NodeVisitorline in class NodeVisitorpublic void text(int lineNumber,
String value)
NodeVisitortext in class NodeVisitorCopyright © 2022 Secure Software Engineering Group - University of Paderborn. All rights reserved.