|
Sun Adapter for SAG API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stc.connector.sagadapter.primitive.sw.X_choice_J
public class X_choice_J
| Constructor Summary | |
|---|---|
X_choice_J()
|
|
X_choice_J(com.stc.otd.runtime.OtdMeta mObj)
|
|
| Method Summary | |
|---|---|
int |
choice()
For a choice node, returns the index of the valid child. |
int |
count(int child)
Returns the number of repetition instances of the given child. |
java.lang.Object |
get(int child)
|
java.lang.Object |
get(int child,
int index)
|
Sw_AckFileResponse |
getSw_AckFileResponse()
|
Sw_GetFileResponse |
getSw_GetFileResponse()
|
Sw_NotifyFileResponse |
getSw_NotifyFileResponse()
|
Sw_PutFileResponse |
getSw_PutFileResponse()
|
boolean |
has(int child)
Tests whether given child is present. |
boolean |
has(int child,
int index)
Tests whether given instance of a repeated child is present. |
boolean |
hasSw_AckFileResponse()
|
boolean |
hasSw_GetFileResponse()
|
boolean |
hasSw_NotifyFileResponse()
|
boolean |
hasSw_PutFileResponse()
|
void |
init0()
|
void |
marshal(org.xml.sax.ContentHandler handler,
org.xml.sax.ErrorHandler errorHandler,
boolean rtMarshal)
|
com.stc.otd.runtime.OtdMeta |
meta()
|
void |
remove(int child)
Removes the given child instance. |
void |
remove(int child,
int index)
Removes the given occurrence of a child instance. |
void |
set(int child,
int index,
java.lang.Object value)
Stores the given child instance. |
void |
set(int child,
java.lang.Object value)
|
void |
setSw_AckFileResponse(Sw_AckFileResponse value)
|
void |
setSw_GetFileResponse(Sw_GetFileResponse value)
|
void |
setSw_NotifyFileResponse(Sw_NotifyFileResponse value)
|
void |
setSw_PutFileResponse(Sw_PutFileResponse value)
|
int |
size(int child)
Returns one past the last valid index for a repeating child. |
java.lang.String |
toString()
|
void |
unmarshal(org.xml.sax.InputSource inputSource,
com.stc.otd.tools.xml.SAXLexer lexer)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public X_choice_J(com.stc.otd.runtime.OtdMeta mObj)
public X_choice_J()
| Method Detail |
|---|
public void init0()
public com.stc.otd.runtime.OtdMeta meta()
meta in interface com.stc.otd.runtime.OtdNode
public boolean hasSw_PutFileResponse()
throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsExceptionpublic Sw_PutFileResponse getSw_PutFileResponse()
public void setSw_PutFileResponse(Sw_PutFileResponse value)
public boolean hasSw_GetFileResponse()
throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsExceptionpublic Sw_GetFileResponse getSw_GetFileResponse()
public void setSw_GetFileResponse(Sw_GetFileResponse value)
public boolean hasSw_AckFileResponse()
throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsExceptionpublic Sw_AckFileResponse getSw_AckFileResponse()
public void setSw_AckFileResponse(Sw_AckFileResponse value)
public boolean hasSw_NotifyFileResponse()
throws java.lang.IndexOutOfBoundsException
java.lang.IndexOutOfBoundsExceptionpublic Sw_NotifyFileResponse getSw_NotifyFileResponse()
public void setSw_NotifyFileResponse(Sw_NotifyFileResponse value)
public java.lang.Object get(int child)
throws java.lang.IndexOutOfBoundsException
get in interface com.stc.otd.runtime.OtdNodejava.lang.IndexOutOfBoundsException
public java.lang.Object get(int child,
int index)
throws java.lang.IndexOutOfBoundsException
get in interface com.stc.otd.runtime.OtdNodejava.lang.IndexOutOfBoundsException
public void set(int child,
java.lang.Object value)
throws java.lang.IndexOutOfBoundsException,
java.lang.IllegalArgumentException
set in interface com.stc.otd.runtime.OtdNodejava.lang.IndexOutOfBoundsException
java.lang.IllegalArgumentException
public void set(int child,
int index,
java.lang.Object value)
throws java.lang.IndexOutOfBoundsException,
java.lang.IllegalArgumentException
set in interface com.stc.otd.runtime.OtdNodechild - index of child below this parentindex - index of child instance in repetitionvalue - the new child value
java.lang.IndexOutOfBoundsException - for invalid index or child
java.lang.IllegalArgumentException - for a type or value error
public boolean has(int child)
throws java.lang.IndexOutOfBoundsException
has in interface com.stc.otd.runtime.OtdNodechild - index of child below this parent
java.lang.IndexOutOfBoundsException - for invalid child
public boolean has(int child,
int index)
throws java.lang.IndexOutOfBoundsException
has in interface com.stc.otd.runtime.OtdNodechild - index of child below this parentindex - index of child instance in repetition, from 0
java.lang.IndexOutOfBoundsException - for invalid index or childpublic int count(int child)
count in interface com.stc.otd.runtime.OtdNodechild - index of child below this parent
java.lang.IndexOutOfBoundsException - for invalid childpublic int size(int child)
size in interface com.stc.otd.runtime.OtdNodechild - index of child below this parent
java.lang.IndexOutOfBoundsException - for invalid childpublic int choice()
choice in interface com.stc.otd.runtime.OtdNodepublic void remove(int child)
remove in interface com.stc.otd.runtime.OtdNodechild - index of child below this parent, from 0
java.lang.IndexOutOfBoundsException - for invalid or mandatory child
public void remove(int child,
int index)
remove in interface com.stc.otd.runtime.OtdNodechild - index of child below this parent, from 0index - index of child instance in repetition, from 0
java.lang.IndexOutOfBoundsException - for invalid or non-repeating child
public void unmarshal(org.xml.sax.InputSource inputSource,
com.stc.otd.tools.xml.SAXLexer lexer)
throws org.xml.sax.SAXException,
com.stc.otd.runtime.UnmarshalException
org.xml.sax.SAXException
com.stc.otd.runtime.UnmarshalException
public void marshal(org.xml.sax.ContentHandler handler,
org.xml.sax.ErrorHandler errorHandler,
boolean rtMarshal)
throws com.stc.otd.runtime.MarshalException,
org.xml.sax.SAXException
com.stc.otd.runtime.MarshalException
org.xml.sax.SAXExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
Sun Adapter for SAG API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||