Package org.apache.xmlbeans.impl.values
Class XmlComplexContentImpl
- java.lang.Object
-
- org.apache.xmlbeans.impl.values.XmlObjectBase
-
- org.apache.xmlbeans.impl.values.XmlComplexContentImpl
-
- All Implemented Interfaces:
java.io.Serializable
,TypeStoreUser
,SimpleValue
,XmlObject
,XmlTokenSource
- Direct Known Subclasses:
AllDocumentImpl
,AnnotationDocumentImpl
,AnyAttributeDocumentImpl
,AnyDocumentImpl
,AppinfoDocumentImpl
,AppinfoDocumentImpl.AppinfoImpl
,AttributeDocumentImpl
,AttributeGroupDocumentImpl
,BaseAttributeImpl
,ChoiceDocumentImpl
,CodeImpl
,ComplexContentDocumentImpl
,ComplexTypeDocumentImpl
,ConfigDocumentImpl
,ConfigDocumentImpl.ConfigImpl
,DefinitionsDocumentImpl
,DefinitionsDocumentImpl.DefinitionsImpl
,DocumentationDocumentImpl
,DocumentationDocumentImpl.DocumentationImpl
,DownloadedSchemaEntryImpl
,DownloadedSchemasDocumentImpl
,DownloadedSchemasDocumentImpl.DownloadedSchemasImpl
,ElementDocumentImpl
,EnumerationDocumentImpl
,ExtensionconfigImpl
,ExtensionconfigImpl.InterfaceImpl
,ExtensionconfigImpl.PrePostSetImpl
,FieldDocumentImpl
,FileDescImpl
,FractionDigitsDocumentImpl
,GroupDocumentImpl
,IdAttributeImpl
,ImportDocumentImpl
,IncludeDocumentImpl
,KeyDocumentImpl
,KeyrefDocumentImpl
,LangAttributeImpl
,LengthDocumentImpl
,ListDocumentImpl
,MaxExclusiveDocumentImpl
,MaxInclusiveDocumentImpl
,MaxLengthDocumentImpl
,MinExclusiveDocumentImpl
,MinInclusiveDocumentImpl
,MinLengthDocumentImpl
,NotationDocumentImpl
,NsconfigImpl
,OpenAttrsImpl
,PatternDocumentImpl
,QnameconfigImpl
,RedefineDocumentImpl
,RestrictionDocumentImpl
,SchemaDocumentImpl
,SelectorDocumentImpl
,SequenceDocumentImpl
,SimpleContentDocumentImpl
,SimpleTypeDocumentImpl
,SpaceAttributeImpl
,TestCaseImpl
,TestCaseImpl.FilesImpl
,TestsDocumentImpl
,TestsDocumentImpl.TestsImpl
,TImportImpl
,TotalDigitsDocumentImpl
,UnionDocumentImpl
,UniqueDocumentImpl
,UsertypeconfigImpl
,WhiteSpaceDocumentImpl
,XmlAnyTypeImpl
public class XmlComplexContentImpl extends XmlObjectBase
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
-
-
Constructor Summary
Constructors Constructor Description XmlComplexContentImpl(SchemaType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
compute_text(NamespaceManager nsm)
boolean
equal_to(XmlObject complexObject)
java.lang.String
get_default_attribute_text(javax.xml.namespace.QName attrName)
Returns the default attribute text for the attribute with the given name, or null if no default.java.lang.String
get_default_element_text(javax.xml.namespace.QName eltName)
Returns the default element text, if it's consistent.int
get_elementflags(javax.xml.namespace.QName eltName)
Returns the elementflags, if they're consistent.boolean
is_child_element_order_sensitive()
Returns false if child elements are insensitive to order; if it returns true, you're required to call invalidate_element_order on children to the right of any child order rearrangement.TypeStoreVisitor
new_visitor()
A typestore user can return a visitor that is used to compute default text and elementflags for an arbitrary element.SchemaType
schemaType()
void
set_nil()
void
set_text(java.lang.String str)
-
Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_copy, _copy, _set, attach_store, build_nil, build_text, changeType, check_dated, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, disconnect_store, documentProperties, dump, equals, execQuery, execQuery, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, hashCode, init_flags, instanceType, invalidate_element_order, invalidate_nilvalue, invalidate_value, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set_newValue, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, substitute, toString, uses_invalidate_value, validate, validate, validate_now, valueEquals, valueHashCode, writeReplace, xgetListValue, xmlText, xmlText
-
-
-
-
Constructor Detail
-
XmlComplexContentImpl
public XmlComplexContentImpl(SchemaType type)
-
-
Method Detail
-
schemaType
public SchemaType schemaType()
- Specified by:
schemaType
in interfaceXmlObject
- Specified by:
schemaType
in classXmlObjectBase
- Returns:
- The schema type for this instance. This is a permanent, unchanging property of the instance.
-
compute_text
public java.lang.String compute_text(NamespaceManager nsm)
-
set_text
public void set_text(java.lang.String str)
-
set_nil
public void set_nil()
-
equal_to
public boolean equal_to(XmlObject complexObject)
-
new_visitor
public TypeStoreVisitor new_visitor()
Description copied from class:XmlObjectBase
A typestore user can return a visitor that is used to compute default text and elementflags for an arbitrary element.- Specified by:
new_visitor
in interfaceTypeStoreUser
- Overrides:
new_visitor
in classXmlObjectBase
-
is_child_element_order_sensitive
public boolean is_child_element_order_sensitive()
Description copied from class:XmlObjectBase
Returns false if child elements are insensitive to order; if it returns true, you're required to call invalidate_element_order on children to the right of any child order rearrangement.- Specified by:
is_child_element_order_sensitive
in interfaceTypeStoreUser
- Overrides:
is_child_element_order_sensitive
in classXmlObjectBase
-
get_elementflags
public int get_elementflags(javax.xml.namespace.QName eltName)
Description copied from class:XmlObjectBase
Returns the elementflags, if they're consistent. If they're not, returns -1, and requires a vistor walk.- Specified by:
get_elementflags
in interfaceTypeStoreUser
- Overrides:
get_elementflags
in classXmlObjectBase
-
get_default_attribute_text
public java.lang.String get_default_attribute_text(javax.xml.namespace.QName attrName)
Description copied from class:XmlObjectBase
Returns the default attribute text for the attribute with the given name, or null if no default.- Specified by:
get_default_attribute_text
in interfaceTypeStoreUser
- Overrides:
get_default_attribute_text
in classXmlObjectBase
-
get_default_element_text
public java.lang.String get_default_element_text(javax.xml.namespace.QName eltName)
Description copied from class:XmlObjectBase
Returns the default element text, if it's consistent. If it's not consistent, returns null, and requires a visitor walk.Also returns null if there is no default at all (although that can also be discovered via get_elementflags without doing a walk).
- Specified by:
get_default_element_text
in interfaceTypeStoreUser
- Overrides:
get_default_element_text
in classXmlObjectBase
-
-