com.batavia.xbrl.taxonomy.type
Interface ComplexContent

All Superinterfaces:
java.lang.Comparable, ComparablePart, ContentCreator, IdKeeper, java.io.Serializable, TaxonomyElement, org.relaxng.datatype.ValidationContext, XbrlElement, XmlElement, XmlParticle

public interface ComplexContent
extends TaxonomyElement, ContentCreator

complexcontent element complextype elements in XBRL environment

Copyright 2006 J2R BV, The Netherlands.

Part of Licensed Materials.

www.batavia-xbrl.com

Author:
Ron van Ardenne

Method Summary
 void createContents(InstanceElement returnValue, Xbrl aRoot, boolean includeDefaultValues, java.util.List contextList, boolean includeFootnotes)
          Create the contents of the returnValue argument based on the concepts in this object
 void createMissingContents(Tuple tupleFact, Xbrl aRoot, boolean includeDefaultValues, java.util.List contextList, boolean includeFootnotes)
           
 XmlAttribute getBase()
           
 Extension getExtension()
           
 Restriction getRestriction()
           
 boolean refersToConcept(Concept aConcept, DiscoverableTaxonomySet instanceDts)
          Determine if the given concept is used by this element.
 void setRestriction(Restriction restriction)
           
 boolean validate(XmlParticle element, ValidationDocument msgs)
           
 
Methods inherited from interface com.batavia.xbrl.taxonomy.TaxonomyElement
getRoot, hasDecendantsWithAttribute, hasUnknownDecendants
 
Methods inherited from interface com.batavia.xbrl.XbrlElement
addChild, fromXbrl, getMyDiscoverableTaxonomySet, getXbrlElementNameSpace, removeChild, toXbrlStream, toXbrlString
 
Methods inherited from interface com.batavia.xml.XmlElement
addAttribute, addChild, addChildren, addComment, addMessage, addNameSpace, clearMessages, fromXml, getAttribute, getAttribute, getAttributeSet, getChild, getChildren, getChildren, getDefaultNameSpace, getDocumentHref, getErrorMessage, getFullyQualifiedNameValue, getMappedChildren, getMessages, getName, getNameSpace, getNameSpacePrefixes, getNameSpaces, getPointedElement, getValidXmlBase, getValue, getXmlElementNameSpace, getXmlRoot, isValid, moveChild, removeAttribute, removeChild, resolvePointedValue, resolvePointedXmlParticle, setAttributeValue, setChildren, setDocumentHref, setErrorMessage, setInit, setName, setTargetNameSpace, setValue, toXml, toXml, toXmlStream, toXmlString, toXstringBuffer, validate
 
Methods inherited from interface com.batavia.xml.XmlParticle
destroy, getBaseUri, getParent, getPrefix, getTargetNameSpace, isBoolean, isNumber, p_equal, resolveNamespacePrefix, setParent, toXstring
 
Methods inherited from interface com.batavia.xml.ComparablePart
c_equal, identical, s_equal, u_equal, v_equal, x_equal
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.relaxng.datatype.ValidationContext
isNotation, isUnparsedEntity
 
Methods inherited from interface com.batavia.xml.IdKeeper
addIdHolder, getHolder, removeIdHolder
 
Methods inherited from interface com.batavia.xbrl.taxonomy.type.ContentCreator
createContents, getRefConceptNames
 

Method Detail

createContents

void createContents(InstanceElement returnValue,
                    Xbrl aRoot,
                    boolean includeDefaultValues,
                    java.util.List contextList,
                    boolean includeFootnotes)
Create the contents of the returnValue argument based on the concepts in this object

Specified by:
createContents in interface ContentCreator
Parameters:
returnValue -
aRoot -
unit -
context -

refersToConcept

boolean refersToConcept(Concept aConcept,
                        DiscoverableTaxonomySet instanceDts)
Determine if the given concept is used by this element.

Parameters:
aConcept -
Returns:
boolean

getRestriction

Restriction getRestriction()
Returns:
Returns the restriction.

setRestriction

void setRestriction(Restriction restriction)
Parameters:
restriction - The restriction to set.

createMissingContents

void createMissingContents(Tuple tupleFact,
                           Xbrl aRoot,
                           boolean includeDefaultValues,
                           java.util.List contextList,
                           boolean includeFootnotes)
Specified by:
createMissingContents in interface ContentCreator

validate

boolean validate(XmlParticle element,
                 ValidationDocument msgs)

getBase

XmlAttribute getBase()
Returns:
Returns the ref.

getExtension

Extension getExtension()
Returns:
Returns the extension.