public class ObjectTypeNodeParser extends Object
ObjectTypeNode using callbacks.
The user defines a number of callback methods in a NetworkHandler that will be called when events occur
during parsing. The events include :
| Constructor and Description |
|---|
ObjectTypeNodeParser(ObjectTypeNode objectTypeNode)
Creates a new parser for the specified ObjectTypeNode
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(NetworkHandler handler)
Parse the
objectTypeNode. |
public ObjectTypeNodeParser(ObjectTypeNode objectTypeNode)
objectTypeNode - otn to parsepublic void accept(NetworkHandler handler)
objectTypeNode.
The application can use this method to instruct the OTN parser to begin parsing an ObjectTypeNode.
NetworkHandler.handler - handler that will receieve the events generated by this parserNetworkHandlerCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.