|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.cimclient.internal.cimxml.sax.node.Node
org.sblim.cimclient.internal.cimxml.sax.node.AbstractPropertyNode
public abstract class AbstractPropertyNode
AbstractPropertyNode is superclass of PropertyArrayNode, PropertyNode and PropertyReferenceNode classes.
Field Summary | |
---|---|
protected QualifiedNodeHandler |
iQualiHandler
|
Constructor Summary | |
---|---|
AbstractPropertyNode(String pNameEnum)
Ctor. |
Method Summary | |
---|---|
void |
childParsed(Node pChild)
Have to be called by SAX's DefaultHandler.endElement() |
protected abstract void |
childValueNodeParsed(Node pChild)
|
protected abstract String |
getChildValueNodeNameEnum()
|
CIMClassProperty<Object> |
getCIMClassProperty()
getCIMClassProperty |
CIMProperty<Object> |
getCIMProperty()
getCIMProperty |
protected CIMQualifier<?>[] |
getQualis()
|
protected abstract boolean |
hasValueNode()
hasValue |
void |
init(Attributes pAttribs,
SAXSession pSession)
The SAX ContentHandler implementation calls this method after testChild() and addChild() calls. |
void |
parseData(String pData)
XML element's data have to be passed |
protected abstract void |
specificInit(Attributes pAttribs,
SAXSession pSession)
|
void |
testChild(String pNodeNameEnum)
It have to be called by SAX's DefaultHandler implementation when it detects a new child element (startElement()). |
Methods inherited from class org.sblim.cimclient.internal.cimxml.sax.node.Node |
---|
clearCompleted, duplicatedNode, getArraySize, getBoolAttribute, getCIMName, getCIMType, getCIMType, getClassName, getClassOrigin, getNodeName, getParamType, getPropagated, getQualifierFlavor, getReferenceClass, hasTrueAttribute, illegalChildNodePair, isCompleted, setCompleted, testCompletness |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.sblim.cimclient.internal.cimxml.sax.node.TypedIf |
---|
getType |
Methods inherited from interface org.sblim.cimclient.internal.cimxml.sax.node.ValueIf |
---|
getValue |
Field Detail |
---|
protected QualifiedNodeHandler iQualiHandler
Constructor Detail |
---|
public AbstractPropertyNode(String pNameEnum)
pNameEnum
- Method Detail |
---|
protected abstract boolean hasValueNode()
protected abstract void childValueNodeParsed(Node pChild) throws SAXException
SAXException
protected abstract void specificInit(Attributes pAttribs, SAXSession pSession) throws SAXException
SAXException
protected abstract String getChildValueNodeNameEnum()
public void init(Attributes pAttribs, SAXSession pSession) throws SAXException
Node
init
in class Node
pSession
- - stores variables which are common for the whole SAX parsing
session
SAXException
public void testChild(String pNodeNameEnum) throws SAXException
Node
testChild
in class Node
pNodeNameEnum
- - the name of the child element, it must be one of the String
constant defined in class Node, because the implementer
subclasses uses reference based equals comparisons (==)
SAXException
- - It have to be thrown when the Node cannot have
pNodeNameEnum named child Node.public void parseData(String pData)
Node
parseData
in class Node
pData
- public void childParsed(Node pChild) throws SAXException
Node
childParsed
in class Node
SAXException
- - parent Nodes can make conversions here (e.g. type string
into CIMDataType), failed operation should throw
SAXException)protected CIMQualifier<?>[] getQualis()
public CIMProperty<Object> getCIMProperty()
public CIMClassProperty<Object> getCIMClassProperty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |