|
ModeShape Distribution 3.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.jcr.xml.NodeImportXmlHandler.ImportElement
public class NodeImportXmlHandler.ImportElement
Element entries represent in-memory representations of the xml elements (either nodes or properties) encountered between a
NodeImportXmlHandler.startElement(String, String, String, Attributes) and a
NodeImportXmlHandler.endElement(String, String, String) event.
| Constructor Summary | |
|---|---|
protected |
NodeImportXmlHandler.ImportElement(NodeImportXmlHandler.ImportElement parent)
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected NodeImportXmlHandler.ImportElement(NodeImportXmlHandler.ImportElement parent)
| Method Detail |
|---|
protected final boolean looksLikeProperty()
protected void setName(String name)
protected void setType(String type)
protected void addProperty(String propertyName,
String propertyValue)
protected void addAsPropertyValue(String value)
public String getName()
Stringpublic String getType()
Stringpublic List<String> getMixins()
Listpublic Multimap<String,String> getProperties()
Multimappublic Path getPath()
Pathpublic String toString()
toString in class Object
|
ModeShape Distribution 3.1.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||