|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ws4d.java.schema.NamedObject org.ws4d.java.schema.AnyElement
public class AnyElement
Field Summary |
---|
Fields inherited from interface org.ws4d.java.schema.Any |
---|
ATTRIBUTE_NAME, ATTRIBUTE_TYPE, ATTRIBUTE_VALUE_FALSE, ATTRIBUTE_VALUE_TRUE, TAG_ANY, TAG_ANYATTRIBUTE |
Constructor Summary | |
---|---|
AnyElement()
|
Method Summary | |
---|---|
int |
getMaxOccurs()
Returns the maximum occurrence for this element. |
int |
getMinOccurs()
Returns the minimum occurrence for this element. |
QName |
getName()
Returns the qualified name. |
org.ws4d.java.schema.Reference |
getReference()
|
int |
getSchemaIdentifier()
|
Type |
getType()
Returns null . |
boolean |
isReference()
Returns true if the element is a reference for another
schema object, false otherwise. |
void |
setMaxOccurs(int max)
Sets the maximum occurrence for this element. |
void |
setMinOccurs(int min)
Sets the minimum occurrence for this element. |
void |
setName(QName name)
Sets the qualified name. |
Methods inherited from class org.ws4d.java.schema.NamedObject |
---|
checkNamespace, equals, getParentSchema, hashCode, isAbstract, setAbstract, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnyElement()
Method Detail |
---|
public int getSchemaIdentifier()
public int getMinOccurs()
The "minOccurs" attribute in XML Schema describes the minimum occurrence of this element inside the created XML instance document.
public int getMaxOccurs()
The "maxOccurs" attribute in XML Schema describes the maximum occurrence of this element inside the created XML instance document.
public void setMinOccurs(int min)
The "minOccurs" attribute in XML Schema describes the minimum occurrence of this element inside the created XML instance document.
min
- the minimum occurrence for this element.public void setMaxOccurs(int max)
The "maxOccurs" attribute in XML Schema describes the maximum occurrence of this element inside the created XML instance document.
max
- the maximum occurrence for this element.public Type getType()
null
. This element has no type! Inside the XML
instance document an element of any type can be used.
null
.public QName getName()
NamedObject
getName
in class NamedObject
public void setName(QName name)
NamedObject
setName
in class NamedObject
name
- the qname to set.public boolean isReference()
true
if the element is a reference for another
schema object, false
otherwise.
true
if the element is a reference for another
schema object, false
otherwise.public org.ws4d.java.schema.Reference getReference()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |