org.silverpeas.jstl.constant.reflect
Class FieldPathParser

java.lang.Object
  extended by org.silverpeas.jstl.constant.reflect.FieldPathParser

public class FieldPathParser
extends Object

A utility class that parses the simple field name and its declaring class from the fully qualified name (path) of the field.


Constructor Summary
FieldPathParser(String path)
          Constructor for the parser.
 
Method Summary
 String getDeclaringClassName()
           
 List<String> getFieldOrClassNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldPathParser

public FieldPathParser(String path)
Constructor for the parser. The fully qualified field name is parsed into its simple name and its declaring class name.

Parameters:
path - the fully qualified name (path) of the field
Method Detail

getDeclaringClassName

public String getDeclaringClassName()

getFieldOrClassNames

public List<String> getFieldOrClassNames()


Copyright © 2016 Silverpeas. All Rights Reserved.