public class SchemaElement extends Object
| Constructor and Description |
|---|
SchemaElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(SchemaAttribute aAttribute) |
boolean |
containsSimpleType() |
List<SchemaAttribute> |
getAttributeList() |
List<SchemaElement> |
getChildList() |
int |
getMaxOccurs() |
int |
getMinOccurs() |
String |
getName() |
Namespace |
getNamespace() |
String |
getTargetNamespace() |
boolean |
isMandatory() |
boolean |
isRepeatable() |
boolean |
isRoot() |
void |
setChildList(List<SchemaElement> childList) |
void |
setContainsSimpleType(boolean containsSimpleType)
sets true if this element contains a simpleType, false else
|
void |
setMaxOccurs(int maxOccurs) |
void |
setMinOccurs(int minOccurs) |
void |
setName(String name) |
void |
setNamespace(Namespace namespace) |
void |
setRepeatable(boolean isRepeatable) |
void |
setRoot(boolean isRoot) |
void |
setTargetNamespace(String targetNamespace) |
public String getTargetNamespace()
public void setTargetNamespace(String targetNamespace)
targetNamespace - the targetNamespace to setpublic boolean isRepeatable()
public void setRepeatable(boolean isRepeatable)
isRepeatable - the isRepeatable to setpublic boolean isMandatory()
public int getMinOccurs()
public void setMinOccurs(int minOccurs)
minOccurs - the minOccurs to setpublic int getMaxOccurs()
public void setMaxOccurs(int maxOccurs)
maxOccurs - the maxOccurs to setpublic List<SchemaElement> getChildList()
public void setChildList(List<SchemaElement> childList)
childList - the childList to setpublic void setName(String name)
name - the name of the element to setpublic String getName()
public void setContainsSimpleType(boolean containsSimpleType)
containsSimpleType - public boolean containsSimpleType()
public void setRoot(boolean isRoot)
isRoot - the isRoot to setpublic boolean isRoot()
public void setNamespace(Namespace namespace)
namespace - the namespace to setpublic Namespace getNamespace()
public List<SchemaAttribute> getAttributeList()
public void addAttribute(SchemaAttribute aAttribute)
attributeList - the attributeList to setCopyright © 2025. All rights reserved.