|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.XMLFragment
com.ihr.xbrl.om.exLinks.XLinkElement
com.ihr.xbrl.om.exLinks.XBRLPointerOfARelationship
com.ihr.xbrl.om.exLinks.XBRLLocator
public class XBRLLocator
This is not part of the XBRL Infoset. Locators are auxiliary objects.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.ihr.xbrl.om.XBRLValidation |
|---|
XBRLValidation.Direction |
| Field Summary | |
|---|---|
static javax.xml.namespace.QName |
standardLocQName
This is link:loc the element name of standard locators |
| Fields inherited from class com.ihr.xbrl.om.exLinks.XLinkElement |
|---|
actuate, ACTUATE, ARC, arcrole, ARCROLE, ETITLE, EXTENDED, from, FROM, href, HREF, label, LABEL, LOCATOR, RESOURCE, role, ROLE, show, SHOW, SIMPLE, title, TITLE, to, TO, type, TYPE |
| Fields inherited from class com.ihr.xbrl.om.XMLFragment |
|---|
CONCEPT_LABEL, CONCEPT_QNAME, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, idQName, NO_POSITION, OrderComparator, PERIOD_TYPE, PERIOD_VALUE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER |
| Constructor Summary | |
|---|---|
XBRLLocator(DTSContainer dts,
net.sf.saxon.s9api.XdmNode node)
|
|
XBRLLocator(XBRLArc arc,
net.sf.saxon.s9api.XdmNode node)
|
|
XBRLLocator(XMLFragment reference)
|
|
| Method Summary | |
|---|---|
XBRLArc |
getArc()
Access to the [parent] property |
XMLDocumentURI |
getHRefDocument()
Obtains the document this locator is pointing to. |
XBRLExtendedLink |
getParent()
The parent XMLFragment node of this XMLFragment node. |
XMLFragment |
getReference()
Access to the [Reference] property. |
XBRLValidationReport |
getValidationReport()
Access to the last stored validation report |
void |
invalidate()
Invalidates the XBRLFact for XBRL validation. |
boolean |
invalidate(XBRLValidation.Direction dir)
Invalidates this object and the elements in the XML tree according with the parameter in dir This method is used by GUI tools that requires to reset validation before a manual validation cycle is started |
boolean |
isOnValidation()
When validation is a recursive process, this function returns true if the object going to be validated is already under validation. |
boolean |
isStandardLoc()
Returns true if the surrounding node is a link:loc returns false if this object is in the substitution group of link:loc but not a link:loc |
XBRLValidationReport |
validate(XBRLPlugInProcessor proc)
Executes validation on the instance object and returns a validation report. |
void |
validateNotEmptyHref(java.net.URI href)
|
void |
validateXPointer(java.net.URI uriHref)
resolve the XPointer to the node pointed to and returns the XMLFragment it points to or null if none can be found. |
| Methods inherited from class com.ihr.xbrl.om.exLinks.XLinkElement |
|---|
generateNode, getActuate, getArcrole, getFromTxt, getHRef, getLabel, getRole, getShow, getStaticLabel, getSType, getTitle, getToTxt, isRequiredAttribute, isValidAttribute, setActuate, setArcrole, setFrom, setHRef, setLabel, setRole, setShow, setSType, setTitle, setTo |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final javax.xml.namespace.QName standardLocQName
| Constructor Detail |
|---|
public XBRLLocator(DTSContainer dts,
net.sf.saxon.s9api.XdmNode node)
public XBRLLocator(XBRLArc arc,
net.sf.saxon.s9api.XdmNode node)
public XBRLLocator(XMLFragment reference)
| Method Detail |
|---|
public XBRLArc getArc()
public XBRLExtendedLink getParent()
XMLFragmentFor XBRLAttribute nodes, the parent is the element node.
For Document nodes the returned value is null
For Embedded document nodes, the returned value is the parent element node.
getParent in interface XMLHasParentgetParent in class XMLFragment
public XMLFragment getReference()
throws XBRLValidationException
XBRLValidationException
public XMLDocumentURI getHRefDocument()
throws XBRLValidationException
XBRLValidationException
public void validateNotEmptyHref(java.net.URI href)
throws XBRLValidationExceptionInvalidEmptyHRef
XBRLValidationExceptionInvalidEmptyHRef
public void validateXPointer(java.net.URI uriHref)
throws XBRLValidationException
The href MUST be absolute.
uriHref - the URI to resolvedoc - XMLDocumentURI in which uriHRef exist. if null then the XMLDocumentURI is obtained from the cache. If the document has not been loaded
in the cache (it is not in the DTS) and the doc parameter is null, most likely, this function will return null.
XBRLValidationException - if the URI cannot be resolved according to the rules in the XBRL 2.1 specificationpublic boolean isStandardLoc()
public XBRLValidationReport getValidationReport()
XBRLValidation
getValidationReport in interface XBRLValidationpublic XBRLValidationReport validate(XBRLPlugInProcessor proc)
XBRLValidation
The validation result may be cached internally. A call to XBRLValidation.invalidate(Direction) clears the validation cache.
validate in interface XBRLValidationproc - the processor under which the object is going to be validated. Note the same object can be validated on multiple processors.
public void invalidate()
XBRLValidation
invalidate in interface XBRLValidationpublic boolean invalidate(XBRLValidation.Direction dir)
XBRLValidationThis method is used by GUI tools that requires to reset validation before a manual validation cycle is started
invalidate in interface XBRLValidationdir - see the XBRLValidation.Direction enumeration for more information.public boolean isOnValidation()
XBRLValidation
isOnValidation in interface XBRLValidation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||