|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ipdr.utils.SchemaUtil
public class SchemaUtil
This class is added to validate the CompositeData against Schema object.
| Field Summary | |
|---|---|
protected static Schema |
schema_
To store the schema object. |
| Constructor Summary | |
|---|---|
SchemaUtil()
|
|
| Method Summary | |
|---|---|
protected static java.lang.String |
subNameSpaceIDWithURI(java.lang.String nameComp)
This method is used to replace the attribute names prefixed with nameSpaceID present in CompData with attribute names prefixed with nameSpaceURI. |
static void |
validateAgainstSchema(CompositeData cData,
Schema s)
This method is used to validate a given CompositeData object against a schema object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Schema schema_
| Constructor Detail |
|---|
public SchemaUtil()
| Method Detail |
|---|
public static void validateAgainstSchema(CompositeData cData,
Schema s)
throws IPDRException
cData - CompositeData to validates - Schema to validate against
IPDRException
protected static java.lang.String subNameSpaceIDWithURI(java.lang.String nameComp)
throws IPDRException
nameComp - Attribute name of string type
IPDRException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||