|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.xs.impl.XSObjectImpl
public abstract class XSObjectImpl
Constructor Summary | |
---|---|
protected |
XSObjectImpl(XSObject pParent,
XsObject pBaseObject)
|
Method Summary | |
---|---|
org.xml.sax.Locator |
getLocator()
Returns the objects location. |
XSObject |
getParentObject()
Returns either of the following: If the object is the schema itself, returns null. |
protected XsObject |
getXsObject()
|
XSSchema |
getXSSchema()
Returns the objects schema. |
boolean |
isTopLevelObject()
Returns whether the object is a top-level object. |
void |
validate()
Validates the objects internal state. |
protected void |
validateAllIn(XSObject[] objects)
Utility method used to call validate() on every element within an array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected XSObjectImpl(XSObject pParent, XsObject pBaseObject)
Method Detail |
---|
public XSObject getParentObject()
XSObject
Returns either of the following:
getParentObject
in interface XSObject
public XSSchema getXSSchema()
XSObject
Returns the objects schema.
getXSSchema
in interface XSObject
public boolean isTopLevelObject()
XSObject
Returns whether the object is a top-level object. This is the case for the XsESchema itself and for all its childs only.
isTopLevelObject
in interface XSObject
public org.xml.sax.Locator getLocator()
XSObject
Returns the objects location.
getLocator
in interface XSObject
protected XsObject getXsObject()
public void validate() throws org.xml.sax.SAXException
XSObject
Validates the objects internal state.
validate
in interface XSObject
org.xml.sax.SAXException
protected final void validateAllIn(XSObject[] objects) throws org.xml.sax.SAXException
objects
- Array must not have any null elements.
org.xml.sax.SAXException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |