|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.builder.binding.XPathHelper
public class XPathHelper
Helper class to assemble an XPATH expression to qualify the path of an XML schema structure from the XML schema root.
Constructor Summary | |
---|---|
XPathHelper()
|
Method Summary | |
---|---|
static java.lang.String |
getSchemaLocation(Structure structure)
Returns a string (XPATH) representation of an XML Schema component. |
static java.lang.String |
getSchemaLocation(Structure structure,
boolean dealWithAnonTypes)
Returns a string (XPATH) representation of an XML Schema component. |
static void |
getSchemaLocation(Structure structure,
java.lang.StringBuffer location)
Deduces an XPATH expression qualifying the path from the schema root to the given structure in question. |
static void |
getSchemaLocation(Structure structure,
java.lang.StringBuffer location,
boolean dealWithAnonTypes)
Deduces an XPATH expression qualifying the path from the schema root to the given structure in question. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPathHelper()
Method Detail |
---|
public static void getSchemaLocation(Structure structure, java.lang.StringBuffer location)
structure
- AN XML structure.location
- The XPATH expression to be created.public static void getSchemaLocation(Structure structure, java.lang.StringBuffer location, boolean dealWithAnonTypes)
structure
- AN XML structure.location
- The XPATH expression to be created.dealWithAnonTypes
- Indicates whether to include XPATH fragments for anonymous
types.public static java.lang.String getSchemaLocation(Structure structure, boolean dealWithAnonTypes)
The location of a structure is composed of two parts:
The local location is defined by:
structure
- the structure for which to return a representation.dealWithAnonTypes
- Indicates whether to include XPATH fragments for anonymous
types.
public static java.lang.String getSchemaLocation(Structure structure)
structure
- the structure for which to return a representation
getSchemaLocation(Structure, boolean)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |