|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.schema.codegen.custom.CustomBase
public class CustomBase
Base class for all schema customizations. This defines a way to navigate up the tree of nested customizations without making assumptions about the specific type of the containing components.
Field Summary | |
---|---|
private NestingCustomBase |
m_parent
Parent element ( null if none). |
Constructor Summary | |
---|---|
CustomBase(NestingCustomBase parent)
Constructor. |
Method Summary | |
---|---|
protected static java.lang.Object |
getContainingObject(IUnmarshallingContext ictx)
Gets the parent element link from the unmarshalling stack. |
NestingCustomBase |
getParent()
Get container. |
SchemaRootBase |
getSchemaRoot()
Get schema customizations parent. |
protected void |
setParent(NestingCustomBase parent)
Set container. |
protected void |
validateAttributes(IUnmarshallingContext ictx,
StringArray attrs)
Validate attributes of element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private NestingCustomBase m_parent
null
if none).
Constructor Detail |
---|
public CustomBase(NestingCustomBase parent)
parent
- Method Detail |
---|
public NestingCustomBase getParent()
protected void setParent(NestingCustomBase parent)
parent
- public SchemaRootBase getSchemaRoot()
protected void validateAttributes(IUnmarshallingContext ictx, StringArray attrs)
ictx
- unmarshalling contextattrs
- attributes arrayprotected static java.lang.Object getContainingObject(IUnmarshallingContext ictx)
ictx
- unmarshalling context
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |