XFA4J

com.adobe.xfa
Class SOMParser

java.lang.Object
  extended by com.adobe.xfa.SOMParser

public final class SOMParser
extends java.lang.Object

SOMParser provides support for resolving a SOM (Scripting Object Model) expression into a list of nodes.


Nested Class Summary
static class SOMParser.SomResultInfo
          Describes one returned value from the SOM parser.
 
Constructor Summary
SOMParser()
          Constructs a new SOMParser.
 
Method Summary
 boolean resolve(Node startNode, java.lang.String somExpression, java.util.List<SOMParser.SomResultInfo> result)
          Resolves a SOM expression to the list of Obj that the SOM expression represents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOMParser

public SOMParser()
Constructs a new SOMParser.

Method Detail

resolve

public boolean resolve(Node startNode,
                       java.lang.String somExpression,
                       java.util.List<SOMParser.SomResultInfo> result)
Resolves a SOM expression to the list of Obj that the SOM expression represents.

Parameters:
startNode - the Node to start at (the current node)
somExpression - the SOM expression to be resolved.
result - a List of SomResultInfo that will be populated with the result of evaluating the SOM expression.
Returns:
true if any nodes were added to the result.

XFA4J

© 2005 Adobe Systems Incorporated. All Rights Reserved.