public class NodeImportXmlHandler.ImportElement extends Object
NodeImportXmlHandler.startElement(String, String, String, Attributes)
and a
NodeImportXmlHandler.endElement(String, String, String)
event.Type | Property and Description |
---|---|
protected boolean |
looksLike
Returns whether this element entry looks (at this point) like a property element: it has no properties
|
Modifier | Constructor and Description |
---|---|
protected |
NodeImportXmlHandler.ImportElement(NodeImportXmlHandler.ImportElement parent) |
Modifier and Type | Method and Description |
---|---|
protected void |
addAsPropertyValue(String value) |
protected void |
addProperty(String propertyName,
String propertyValue) |
List<String> |
getMixins()
Returns the list of mixins of the import element, which should translate to the mixins of a jcr node.
|
String |
getName()
Returns the name of the import element, which should translate to the name of a jcr node.
|
Path |
getPath()
Returns the path of this import element, which translates to the path of the jcr node.
|
Multimap<String,String> |
getProperties()
Returns the imported element's properties.
|
String |
getType()
Returns the name of the import element, which should translate to the type of a jcr node.
|
protected boolean |
looksLikeProperty()
Returns whether this element entry looks (at this point) like a property element: it has no properties
|
protected void |
setName(String name) |
protected void |
setType(String type) |
String |
toString() |
protected NodeImportXmlHandler.ImportElement(NodeImportXmlHandler.ImportElement parent)
protected final boolean looksLikeProperty()
protected void setName(String name)
protected void setType(String type)
protected void addAsPropertyValue(String value)
public String getName()
String
public String getType()
String
public List<String> getMixins()
List
public Multimap<String,String> getProperties()
Multimap
public Path getPath()
Path
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.