| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcbase.PropertyPathFactory
public class PropertyPathFactory
Factory class for PropertyPath and PropertyPathStep instances.
PropertyPath, 
PropertyPathStep| Constructor Summary | |
|---|---|
PropertyPathFactory()
 | 
|
| Method Summary | |
|---|---|
static AnyStep | 
createAnyStep()
 | 
static AnyStep | 
createAnyStep(int index)
 | 
static PropertyPathStep | 
createAttributePropertyPathStep(QualifiedName attrName)
Creates a new PropertyPathStep instance that selects the attribute with the given name. | 
static PropertyPath | 
createPropertyPath(List<PropertyPathStep> steps)
Creates a new PropertyPath instance with the specified steps. | 
static PropertyPath | 
createPropertyPath(PropertyPath propertyPath,
                                     int fromIndex,
                                     int toIndex)
Creates a new PropertyPath instance that consists of a subset of the steps from the given
 PropertyPath. | 
static PropertyPath | 
createPropertyPath(QualifiedName elementName)
Creates a new PropertyPath instance that consists of one element step. | 
static PropertyPathStep | 
createPropertyPathStep(QualifiedName elementName)
Creates a new PropertyPathStep instance that selects the element with the given name. | 
static PropertyPathStep | 
createPropertyPathStep(QualifiedName elementName,
                                             int selectedIndex)
Creates a new PropertyPathStep instance that selects the specified occurence of the element with
 the given name. | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PropertyPathFactory()
| Method Detail | 
|---|
public static PropertyPath createPropertyPath(QualifiedName elementName)
PropertyPath instance that consists of one element step.
elementName - name of selected element
PropertyPath instance
public static PropertyPath createPropertyPath(PropertyPath propertyPath,
                                              int fromIndex,
                                              int toIndex)
PropertyPath instance that consists of a subset of the steps from the given
 PropertyPath.
propertyPath - original PropertyPathfromIndex - index of the first step to be includedtoIndex - index of the final step to be included
PropertyPath instancepublic static PropertyPath createPropertyPath(List<PropertyPathStep> steps)
PropertyPath instance with the specified steps.
steps - property path steps, may not be null
PropertyPath instancepublic static PropertyPathStep createAttributePropertyPathStep(QualifiedName attrName)
PropertyPathStep instance that selects the attribute with the given name.
attrName - attribute to be selected
PropertyPathStep instancepublic static PropertyPathStep createPropertyPathStep(QualifiedName elementName)
PropertyPathStep instance that selects the element with the given name.
elementName - element to be selected
PropertyPathStep instance
public static PropertyPathStep createPropertyPathStep(QualifiedName elementName,
                                                      int selectedIndex)
PropertyPathStep instance that selects the specified occurence of the element with
 the given name.
elementName - element to be selectedselectedIndex - occurence of the element
PropertyPathStep instancepublic static AnyStep createAnyStep()
public static AnyStep createAnyStep(int index)
index - 
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
                    For more information visit: http://www.deegree.org