|
|||||||||
| Home >> All >> com >> aendvari >> cerberus >> component >> descriptor >> [ parser overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.aendvari.cerberus.component.descriptor.parser
Class InstanceParser

java.lang.Objectcom.aendvari.cerberus.component.descriptor.parser.DescriptorParser
com.aendvari.cerberus.component.descriptor.parser.InstanceParser
- public class InstanceParser
- extends DescriptorParser
Constructs a com.aendvari.cerberus.component.descriptor.ComponentInstance from the content of a com.aendvari.common.model.ModelNode.
The com.aendvari.common.model.ModelNode contains a single component instance.
This class only reads the content of the com.aendvari.common.model.ModelNode, it does not attempt to verify the data.
| Nested Class Summary | |
private static interface |
InstanceParser.NodeNames
Constants for descriptor element names. |
| Constructor Summary | |
InstanceParser()
Constructs a InstanceParser instance. |
|
| Method Summary | |
com.aendvari.cerberus.component.descriptor.ComponentInstance |
parse(java.io.InputStream inputStream)
Parses the content of the given InputStream as a component instance. |
com.aendvari.cerberus.component.descriptor.ComponentInstance |
parse(com.aendvari.common.model.ModelNode instanceNode)
Parses the given com.aendvari.common.model.ModelNode containing a component instance. |
private com.aendvari.cerberus.component.descriptor.ComponentAttribute |
parseAttribute(com.aendvari.common.model.ModelNode objectNode)
Parses an attribute of a component instance. |
private com.aendvari.cerberus.component.descriptor.ComponentMessage |
parseMessage(com.aendvari.common.model.ModelNode objectNode)
Parses a message of a component instance. |
| Methods inherited from class com.aendvari.cerberus.component.descriptor.parser.DescriptorParser |
parseMultiPartValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
InstanceParser
public InstanceParser()
- Constructs a
InstanceParserinstance.
| Method Detail |
parseAttribute
private com.aendvari.cerberus.component.descriptor.ComponentAttribute parseAttribute(com.aendvari.common.model.ModelNode objectNode)
- Parses an attribute of a component instance.
parseMessage
private com.aendvari.cerberus.component.descriptor.ComponentMessage parseMessage(com.aendvari.common.model.ModelNode objectNode)
- Parses a message of a component instance.
parse
public com.aendvari.cerberus.component.descriptor.ComponentInstance parse(com.aendvari.common.model.ModelNode instanceNode)
- Parses the given com.aendvari.common.model.ModelNode containing a component instance. The com.aendvari.common.model.ModelNode
must be the
element.
parse
public com.aendvari.cerberus.component.descriptor.ComponentInstance parse(java.io.InputStream inputStream) throws ParserException
- Parses the content of the given
InputStreamas a component instance.
|
|||||||||
| Home >> All >> com >> aendvari >> cerberus >> component >> descriptor >> [ parser overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC