|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.schema.processor.Item
public abstract class Item
Item is a common abstraction of Property and PropertyContainer. This is supposed to be a superclass for all items. Items are things that can appear in property containers, which generally means only a property and property container itself. Therefore this is in fact superclass for those two definitions.
Field Summary | |
---|---|
protected Definition |
definition
|
protected java.lang.Object |
element
|
protected javax.xml.namespace.QName |
name
|
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable |
---|
INDENT_STRING |
Constructor Summary | |
---|---|
Item()
Default constructor. |
|
Item(javax.xml.namespace.QName name)
The constructors should be used only occasionally (if used at all). |
|
Item(javax.xml.namespace.QName name,
Definition definition)
The constructors should be used only occasionally (if used at all). |
|
Item(javax.xml.namespace.QName name,
Definition definition,
java.lang.Object element)
The constructors should be used only occasionally (if used at all). |
Method Summary | |
---|---|
java.lang.String |
debugDump()
Provide terse and readable dump of the object suitable for log (at debug level). |
java.lang.String |
debugDump(int indent)
|
java.lang.String |
dump()
Show the content of the object intended for diagnostics by developer. |
protected java.lang.String |
getDebugDumpClassName()
Return a human readable name of this class suitable for logs. |
Definition |
getDefinition()
Returns applicable property definition. |
java.lang.String |
getDisplayName()
Returns a display name for the property type. |
java.lang.Object |
getElement()
|
java.lang.String |
getHelp()
Returns help message defined for the property type. |
javax.xml.namespace.QName |
getName()
Returns the name of the property. |
abstract void |
serializeToDom(org.w3c.dom.Node parentNode)
Serializes property to DOM or JAXB element(s). |
void |
setDefinition(PropertyDefinition definition)
Sets applicable property definition. |
void |
setElement(java.lang.Object element)
|
void |
setName(javax.xml.namespace.QName name)
Sets the name of the property. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected javax.xml.namespace.QName name
protected Definition definition
protected java.lang.Object element
Constructor Detail |
---|
public Item()
public Item(javax.xml.namespace.QName name)
name
- item name (element name)public Item(javax.xml.namespace.QName name, Definition definition)
name
- item name (element name)definition
- item definition (schema)public Item(javax.xml.namespace.QName name, Definition definition, java.lang.Object element)
Method Detail |
---|
public Definition getDefinition()
public javax.xml.namespace.QName getName()
public void setName(javax.xml.namespace.QName name)
name
- the name to setpublic void setDefinition(PropertyDefinition definition)
definition
- the definition to setpublic java.lang.Object getElement()
public void setElement(java.lang.Object element)
public java.lang.String getDisplayName()
public java.lang.String getHelp()
public abstract void serializeToDom(org.w3c.dom.Node parentNode) throws SchemaException
doc
- DOM Document
SchemaProcessorException
- No definition or inconsistent definition
SchemaException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String dump()
Dumpable
dump
in interface Dumpable
public java.lang.String debugDump()
debugDump
in interface DebugDumpable
public java.lang.String debugDump(int indent)
debugDump
in interface DebugDumpable
protected java.lang.String getDebugDumpClassName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |