com.batavia.xbrl.taxonomy.xlink
Interface SimpleLink

All Superinterfaces:
java.lang.Comparable, ComparablePart, IdKeeper, java.io.Serializable, TaxonomyElement, org.relaxng.datatype.ValidationContext, XbrlElement, Xlink, XmlBaseHolder, XmlElement, XmlParticle
All Known Subinterfaces:
ArcroleRef, LinkbaseRef, LinkbaseRef, RoleRef, SchemaRef

public interface SimpleLink
extends Xlink, XmlBaseHolder

A simple link is a link that points from one resource to another [XLINK] http://www.w3.org/TR/xlink/#simple-links.

XBRL uses simple links to point to linkbases from XBRL instances and from taxonomy schemas . XBRL also uses simple links to point to taxonomy schemas from XBRL instances . XBRL uses simple links only to connect XML resources.

Copyright 2006 J2R BV, The Netherlands.

Part of Licensed Materials.

www.batavia-xbrl.com

Author:
Ron van Ardenne

Method Summary
 java.lang.String getAbsoluteXlinkHref()
           
 XmlAttribute getXlinkArcrole()
           
 XmlAttribute getXlinkHref()
           
 XmlAttribute getXlinkRole()
           
 XmlAttribute getXmlBase()
           
 void setXlinkArcrole(XmlAttribute xlinkArcrole)
           
 void setXlinkHref(XmlAttribute xlinkHref)
           
 void setXlinkRole(XmlAttribute xlinkRole)
           
 void setXmlBase(XmlAttribute xmlBase)
           
 boolean validate(ValidationDocument msgs)
          Validate this xbrl part (of the instance and/or its supporting discoverable taxonomy set) and add messages on any problem to the given XbrlValidationMessages collection.
 
Methods inherited from interface com.batavia.xbrl.taxonomy.xlink.Xlink
getLinkbaseContainer, getXlinkType, setXlinkType
 
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
 
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
 

Method Detail

getXlinkRole

XmlAttribute getXlinkRole()
Returns:
Returns the xlinkRole.

setXlinkRole

void setXlinkRole(XmlAttribute xlinkRole)
Parameters:
xlinkRole - The xlinkRole to set.

getXmlBase

XmlAttribute getXmlBase()
Specified by:
getXmlBase in interface XmlBaseHolder
Returns:
Returns the xmlBase.

setXmlBase

void setXmlBase(XmlAttribute xmlBase)
Parameters:
xmlBase - The xmlBase to set.

validate

boolean validate(ValidationDocument msgs)
Validate this xbrl part (of the instance and/or its supporting discoverable taxonomy set) and add messages on any problem to the given XbrlValidationMessages collection.

Specified by:
validate in interface XmlElement
Parameters:
msgs - The messages that indicate the problems with the instance and or its supporting taxonomy set
Returns:
true if there ar no problems with this XbrlElementImpl

getXlinkArcrole

XmlAttribute getXlinkArcrole()
Returns:
Returns the xlinkArcrole.

getXlinkHref

XmlAttribute getXlinkHref()
Returns:
Returns the xlinkHref.

setXlinkArcrole

void setXlinkArcrole(XmlAttribute xlinkArcrole)
Parameters:
xlinkArcrole - The xlinkArcrole to set.

getAbsoluteXlinkHref

java.lang.String getAbsoluteXlinkHref()
Returns:
Returns the xlinkHref complete with the xml:base.

setXlinkHref

void setXlinkHref(XmlAttribute xlinkHref)
Parameters:
xlinkHref - The xlinkHref to set.