public abstract class AnnotationItem extends SchemaBase
Modifier and Type | Field and Description |
---|---|
private java.util.List |
m_content
Content of annotation item.
|
private java.lang.String |
m_source
Annotation item source.
|
ALL_TYPE, ANNOTATION_TYPE, ANY_TYPE, ANYATTRIBUTE_TYPE, APPINFO_TYPE, ATTRIBUTE_TYPE, ATTRIBUTEGROUP_TYPE, CHOICE_TYPE, COMPLEXCONTENT_TYPE, COMPLEXTYPE_TYPE, DOCUMENTATION_TYPE, ELEMENT_MASKS, ELEMENT_NAMES, ELEMENT_TYPE, ENUMERATION_TYPE, EXTENSION_TYPE, FIELD_TYPE, FRACTIONDIGITS_TYPE, GROUP_TYPE, IMPORT_TYPE, INCLUDE_TYPE, KEY_TYPE, KEYREF_TYPE, LENGTH_TYPE, LIST_TYPE, MAXEXCLUSIVE_TYPE, MAXINCLUSIVE_TYPE, MAXLENGTH_TYPE, MINEXCLUSIVE_TYPE, MININCLUSIVE_TYPE, MINLENGTH_TYPE, NOTATION_TYPE, PATTERN_TYPE, REDEFINE_TYPE, RESTRICTION_TYPE, SCHEMA_TYPE, SELECTOR_TYPE, SEQUENCE_TYPE, SIMPLECONTENT_TYPE, SIMPLETYPE_TYPE, TOTALDIGITS_TYPE, UNION_TYPE, UNIQUE_TYPE, WHITESPACE_TYPE
SCHEMA_NAMESPACE
Modifier | Constructor and Description |
---|---|
protected |
AnnotationItem(int type)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addContent(org.w3c.dom.Node node)
Add annotation item content node.
|
void |
clearContent()
Clear annotation item content.
|
int |
getChildCount()
Get count of child elements.
|
java.util.Iterator |
getChildIterator()
Get read-only iterator for child elements.
|
java.util.List |
getContent()
Get annotation item content list.
|
java.lang.String |
getSource()
Get annotation item source.
|
void |
setSource(java.lang.String source)
Set annotation item source.
|
addNamespaceDeclaration, bit, clearNamespaceDeclarations, getExtension, getNamespaceDeclarations, getParent, getSchema, isGlobal, name, preget, preset, prevalidate, readNamespaces, setExtension, setParent, type, validate, validateAttributes, writeNamespaces
private java.lang.String m_source
private java.util.List m_content
protected AnnotationItem(int type)
type
- element typepublic int getChildCount()
SchemaBase
getChildCount
in class SchemaBase
public java.util.Iterator getChildIterator()
SchemaBase
getChildIterator
in class SchemaBase
public java.lang.String getSource()
public void setSource(java.lang.String source)
source
- item sourcepublic final java.util.List getContent()
public final void clearContent()
public final void addContent(org.w3c.dom.Node node)
node
- annotation item content node