|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.mapper.Section
public class Section
Starting with mapper version 3 (2011) there is the possibility to create mapping sections.
Mapping sections are groups of facts that belongs to a section this allows for the following features:
| Constructor Summary | |
|---|---|
Section(java.lang.String id,
java.util.Collection<java.lang.String> files)
|
|
Section(java.lang.String id,
java.lang.String file)
|
|
Section(java.lang.String id,
java.lang.String[] files)
|
|
Section(net.sf.saxon.s9api.XdmNode node)
|
|
| Method Summary | |
|---|---|
void |
addFact(Fact d)
|
void |
addFilesTo(XBRLInstance instance)
Adds referenced files to the instance document. |
boolean |
equals(java.lang.Object obj)
|
org.jdom.Element |
generateNode(boolean relativize,
java.net.URI base)
|
Anchor |
getAnchor()
|
java.lang.String |
getDocumentation()
|
java.util.Iterator<java.lang.String> |
getFiles()
|
java.lang.String |
getId()
Returns the section identifier |
java.lang.String |
getRuleIdentifier()
|
int |
hashCode()
|
boolean |
hasRule()
Returns true if this section has a rule. |
void |
setAnchor(Anchor anchor)
Sets this section anchor |
void |
setAnchor(java.lang.String sectionLink,
javax.xml.namespace.QName sectionElement)
|
void |
setDocumentation(java.lang.String documentation)
|
void |
setId(java.lang.String id)
Sets the id of this section. if null, the section id is reset to the next automatically generated section id as the section id must exist. |
void |
setRuleIdentifier(java.lang.String ruleIdentifier)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Section(net.sf.saxon.s9api.XdmNode node)
throws MapConfigurationFileException
next -
MapConfigurationFileException
public Section(java.lang.String id,
java.lang.String file)
public Section(java.lang.String id,
java.lang.String[] files)
public Section(java.lang.String id,
java.util.Collection<java.lang.String> files)
| Method Detail |
|---|
public java.lang.String getId()
public void addFact(Fact d)
d -
public org.jdom.Element generateNode(boolean relativize,
java.net.URI base)
throws XBRLSerializationException
XBRLSerializationExceptionpublic boolean hasRule()
public java.lang.String getRuleIdentifier()
public void setRuleIdentifier(java.lang.String ruleIdentifier)
ruleIdentifier - the ruleIdentifier to set
public void addFilesTo(XBRLInstance instance)
throws MapException
instance -
MapConfigurationFileException
MapExceptionpublic void setId(java.lang.String id)
id - the id to setpublic java.lang.String getDocumentation()
public void setDocumentation(java.lang.String documentation)
documentation -
public void setAnchor(java.lang.String sectionLink,
javax.xml.namespace.QName sectionElement)
sectionLink - sectionElement - public void setAnchor(Anchor anchor)
anchor - public Anchor getAnchor()
public java.util.Iterator<java.lang.String> getFiles()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||