org.deri.wsmo4j.io.parser.xml
Class LogExprParserImpl
java.lang.Object
org.deri.wsmo4j.io.parser.xml.LogExprParserImpl
public class LogExprParserImpl
- extends Object
This singleton class is used to create a LogicalExpression XML Parser
The Singleton design pattern allows to ensure that only one instance of a class
is created, to provide a global point of access to the object and to allow multiple
instances in the future without affecting a singleton class's clients
- Author:
- retkru
- See Also:
org.omwg.logicalexpression.io.Parser
,
Singleton Pattern
Method Summary |
org.omwg.logicalexpression.LogicalExpression |
parse(Object node)
This method parses a XML Node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogExprParserImpl
public LogExprParserImpl(Map map)
parse
public org.omwg.logicalexpression.LogicalExpression parse(Object node)
throws IllegalArgumentException,
org.wsmo.wsml.ParserException
- This method parses a XML Node.
- Parameters:
node
- XML Element Node that will be parsed
- Returns:
- logical expression object model
- Throws:
IllegalArgumentException
- in case node is not of Type Node
org.wsmo.wsml.ParserException
Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.