public class StreamNode extends Object implements XmiNode
| Constructor and Description |
|---|
StreamNode(XMLEvent startElement,
StreamContext context) |
StreamNode(XMLEvent startElement,
XmiNode parent,
StreamContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(XmiNodeVisitor visitor) |
void |
add(StreamNode node) |
void |
addCharactersEvent(XMLEvent charactersEvent) |
XmiNode |
findChildById(String id) |
XmiNode |
findChildByName(String name) |
Attribute |
getAttribute(QName name) |
Attribute |
getAttribute(String name) |
Iterator<Attribute> |
getAttributes() |
String |
getAttributeValue(QName name) |
String |
getAttributeValue(String name) |
int |
getColumnNumber() |
StreamContext |
getContext() |
String |
getData() |
int |
getLineNumber() |
String |
getLocalName() |
Location |
getLocation() |
String |
getNamespaceURI() |
List<XmiNode> |
getNodes() |
XmiNode |
getParent() |
String |
getPrefix() |
XMLEvent |
getStartElementEvent() |
String |
getXmiId() |
String |
getXmiType() |
boolean |
hasAttribute(QName name) |
boolean |
hasAttributes() |
boolean |
hasCharacters() |
boolean |
hasNodes() |
boolean |
hasXmiType() |
boolean |
isIgnored() |
boolean |
removeChild(XmiNode child) |
void |
setParent(XmiNode parent) |
public StreamNode(XMLEvent startElement, XmiNode parent, StreamContext context)
public StreamNode(XMLEvent startElement, StreamContext context)
public Location getLocation()
public String getLocalName()
getLocalName in interface XmiElementpublic String getNamespaceURI()
getNamespaceURI in interface XmiElementpublic String getPrefix()
getPrefix in interface XmiElementpublic String getData()
getData in interface XmiElementpublic String getXmiType()
getXmiType in interface XmiElementpublic boolean hasAttribute(QName name)
hasAttribute in interface XmiNodepublic boolean hasAttributes()
public String getAttributeValue(QName name)
getAttributeValue in interface XmiNodepublic boolean hasXmiType()
hasXmiType in interface XmiElementpublic String getXmiId()
getXmiId in interface XmiElementpublic int getLineNumber()
getLineNumber in interface XmiNodepublic int getColumnNumber()
getColumnNumber in interface XmiNodepublic void add(StreamNode node)
public XmiNode getParent()
public void setParent(XmiNode parent)
public boolean removeChild(XmiNode child)
public XMLEvent getStartElementEvent()
public void accept(XmiNodeVisitor visitor)
public StreamContext getContext()
public void addCharactersEvent(XMLEvent charactersEvent)
public boolean hasCharacters()
hasCharacters in interface XmiNodepublic boolean isIgnored()
Copyright © 2020. All rights reserved.