XBRLAPI

A Java API for XBRL


org.xbrlapi
Interface MixedContentResource

All Superinterfaces:
ArcEnd, Comparable<XML>, ExtendedLinkContent, Fragment, Resource, Serializable, Xlink, XML
All Known Subinterfaces:
EntityResource, FootnoteResource, LabelResource, MeasureResource, ReferenceResource
All Known Implementing Classes:
EntityResourceImpl, FootnoteResourceImpl, LabelResourceImpl, MeasureResourceImpl, MixedContentResourceImpl, ReferenceResourceImpl

public interface MixedContentResource
extends Resource


Method Summary
 NodeList getContentAsNodeList()
          Get the value of the resource as a NodeList containing all of the children elements and text nodes nested in the resource.
 String getContentAsXHTMLString()
           
 
Methods inherited from interface org.xbrlapi.Resource
getResourceRole
 
Methods inherited from interface org.xbrlapi.ArcEnd
getArcEndId, getArcsFrom, getArcsFromWithArcrole, getArcsTo, getArcsToWithArcrole, getLabel, getRole
 
Methods inherited from interface org.xbrlapi.ExtendedLinkContent
getExtendedLink
 
Methods inherited from interface org.xbrlapi.Xlink
getAttribute, getAttribute, getTitleAttribute, getTitleElement, getTitleElements, getXlinkType
 
Methods inherited from interface org.xbrlapi.Fragment
appendElementSchemeXPointer, appendID, getAllChildren, getAllChildrenIndices, getAncestorOrSelf, getChild, getChildren, getChildren, getChildrenIndices, getDataRootElement, getElementSchemeXPointerExpression, getIDXPointerExpression, getLabels, getLabels, getLabels, getLabelsWithLanguage, getLabelsWithLanguageAndResourceRole, getLabelsWithLanguageAndResourceRoleAndLinkRole, getLabelsWithResourceRole, getLanguage, getLanguage, getLanguageName, getLanguageName, getLocalname, getLocalnameFromQName, getNamespace, getNamespaceFromQName, getParent, getParentElement, getParentIndex, getPrefixFromQName, getReferences, getReferencesWithLanguage, getReferencesWithLanguageAndResourceRoleAndLinkRole, getReferencesWithLanguageAndRole, getReferencesWithResourceRole, getReferencingLocators, getSequenceToParentElement, getSequenceToParentElementAsString, getSimpleLinks, getURI, getXPath, getXPointerExpression, isAncestorOf, isChild, isNewFragment, isRoot, setParentIndex, setSequenceToParentElement, setURI
 
Methods inherited from interface org.xbrlapi.XML
appendMetadataElement, equals, getBuilder, getDocumentNode, getIndex, getMetaAttribute, getMetadataRootElement, getStore, getType, hashCode, hasMetaAttribute, isa, isa, removeMetaAttribute, removeMetadataElement, serialize, serialize, serialize, setBuilder, setIndex, setMetaAttribute, setResource, setStore, updateInStore
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getContentAsNodeList

NodeList getContentAsNodeList()
                              throws XBRLException
Get the value of the resource as a NodeList containing all of the children elements and text nodes nested in the resource.

Returns:
a list of child nodes of the resource including attributes, XHTML elements, and text nodes.
Throws:
XBRLException

getContentAsXHTMLString

String getContentAsXHTMLString()
                               throws XBRLException
Returns:
the content of the resource as a string serialising the XHTML content of the resource. If the resource only contains a string without XHTML markup then that string is what is returned.
Throws:
XBRLException

Get Java XBRL API implementation at SourceForge.net.