public class SDDDocumentBuilder
extends java.lang.Object
Constructor and Description |
---|
SDDDocumentBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
buildAgents(org.apache.xerces.dom.ElementImpl dataset)
Builds Agents associated with the Dataset
|
void |
buildBranches(TermNode<Feature> parent,
org.apache.xerces.dom.ElementImpl element,
boolean isRoot) |
void |
buildCategorical(org.apache.xerces.dom.ElementImpl element,
CategoricalData categoricalData)
Builds Categorical associated with a SummaryData
|
void |
buildCharacters(org.apache.xerces.dom.ElementImpl dataset)
Builds Characters associated with the Dataset
|
void |
buildCharacterTrees(org.apache.xerces.dom.ElementImpl dataset) |
void |
buildClassifications(org.apache.xerces.dom.ElementImpl dataset) |
void |
buildCodedDescriptions(org.apache.xerces.dom.ElementImpl dataset) |
void |
buildContent(org.apache.xerces.dom.ElementImpl element,
LanguageString languageString)
Builds Content associated with a TextChar
|
void |
buildDataset(org.apache.xerces.dom.ElementImpl baselement,
IDatabase reference) |
void |
buildDateModified(org.apache.xerces.dom.ElementImpl revisionData,
IDatabase database)
Builds ModifiedDate associated with RevisionData
|
void |
buildDescriptiveConcepts(org.apache.xerces.dom.ElementImpl dataset) |
void |
buildDocument()
Builds the whole document.
|
void |
buildGeographicAreas(org.apache.xerces.dom.ElementImpl dataset) |
void |
buildIPRStatements(org.apache.xerces.dom.ElementImpl dataset,
IDatabase database)
Builds IPRStatements associated with the Dataset
|
void |
buildLabel(org.apache.xerces.dom.ElementImpl element,
java.lang.String text)
Creates a Label element
|
void |
buildMeasure(org.apache.xerces.dom.ElementImpl element,
StatisticalMeasurementValue statisticalValue)
Builds Measure associated with a Quantitative
|
void |
buildMediaObjects(org.apache.xerces.dom.ElementImpl dataset) |
void |
buildPublications(org.apache.xerces.dom.ElementImpl dataset) |
void |
buildQuantitative(org.apache.xerces.dom.ElementImpl element,
QuantitativeData quantitativeData)
Builds Quantitative associated with a SummaryData
|
void |
buildRefAgent(org.apache.xerces.dom.ElementImpl element,
TeamOrPersonBase ag,
java.lang.String role)
Builds an element Agent referring to Agent defined later in the SDD file
|
int |
buildReference(VersionableEntity ve,
java.util.Map references,
java.lang.String refOrId,
org.apache.xerces.dom.ElementImpl element,
java.lang.String prefix,
int count) |
void |
buildRepresentation(org.apache.xerces.dom.ElementImpl element,
IDatabase reference)
Builds a Representation element using a Reference
|
void |
buildRepresentation(org.apache.xerces.dom.ElementImpl element,
IdentifiableEntity ie)
Builds a Representation element using an IdentifiableEntity
|
void |
buildRepresentation(org.apache.xerces.dom.ElementImpl element,
TermBase tb)
Builds a Representation element using a Feature
|
void |
buildRevisionData(org.apache.xerces.dom.ElementImpl dataset,
IDatabase database)
Builds RevisionData associated with the Dataset
|
void |
buildScope(org.apache.xerces.dom.ElementImpl element,
TaxonDescription taxonDescription)
Builds Scope associated with a CodedDescription
|
void |
buildSpecimens(org.apache.xerces.dom.ElementImpl dataset) |
void |
buildState(org.apache.xerces.dom.ElementImpl element,
State s)
Builds State associated with a Categorical
|
void |
buildSummaryData(org.apache.xerces.dom.ElementImpl element,
TaxonDescription taxonDescription)
Builds SummaryData associated with a CodedDescription
|
void |
buildTaxonNames(org.apache.xerces.dom.ElementImpl dataset)
Builds TaxonNames associated with the Dataset
|
void |
buildTechnicalMetadata(org.apache.xerces.dom.ElementImpl baselement)
Builds TechnicalMetadata associated with the SDD file
|
void |
buildTextChar(org.apache.xerces.dom.ElementImpl element,
TextData textData)
Builds TextChar associated with a SummaryData
|
void |
marshal(SDDDataSet cdmSource,
java.io.File sddDestination) |
void |
marshal(SDDDataSet dataSet,
java.io.OutputStream stream) |
void |
marshal(SDDDataSet cdmSource,
java.lang.String sddDestinationFileName) |
void |
writeCDMtoSDD(java.io.File sddDestination)
Write the DOM document.
|
public SDDDocumentBuilder() throws org.xml.sax.SAXException, java.io.IOException
org.xml.sax.SAXException
java.io.IOException
public void marshal(SDDDataSet cdmSource, java.io.File sddDestination) throws java.io.IOException
java.io.IOException
public void marshal(SDDDataSet cdmSource, java.lang.String sddDestinationFileName) throws java.io.IOException
java.io.IOException
public void marshal(SDDDataSet dataSet, java.io.OutputStream stream) throws java.io.IOException
java.io.IOException
public void writeCDMtoSDD(java.io.File sddDestination) throws java.io.IOException
base
- java.io.IOException
public void buildDocument() throws org.apache.xerces.impl.xpath.regex.ParseException
base
- the Baseorg.apache.xerces.impl.xpath.regex.ParseException
public void buildTechnicalMetadata(org.apache.xerces.dom.ElementImpl baselement) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildDataset(org.apache.xerces.dom.ElementImpl baselement, IDatabase reference) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildRepresentation(org.apache.xerces.dom.ElementImpl element, IDatabase reference) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildRepresentation(org.apache.xerces.dom.ElementImpl element, TermBase tb) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildRepresentation(org.apache.xerces.dom.ElementImpl element, IdentifiableEntity ie) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildRevisionData(org.apache.xerces.dom.ElementImpl dataset, IDatabase database) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildDateModified(org.apache.xerces.dom.ElementImpl revisionData, IDatabase database) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildIPRStatements(org.apache.xerces.dom.ElementImpl dataset, IDatabase database) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildLabel(org.apache.xerces.dom.ElementImpl element, java.lang.String text)
base
- element
- public void buildTaxonNames(org.apache.xerces.dom.ElementImpl dataset) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildDescriptiveConcepts(org.apache.xerces.dom.ElementImpl dataset) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildCharacters(org.apache.xerces.dom.ElementImpl dataset) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildCodedDescriptions(org.apache.xerces.dom.ElementImpl dataset) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildScope(org.apache.xerces.dom.ElementImpl element, TaxonDescription taxonDescription) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildSummaryData(org.apache.xerces.dom.ElementImpl element, TaxonDescription taxonDescription) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildCategorical(org.apache.xerces.dom.ElementImpl element, CategoricalData categoricalData) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildState(org.apache.xerces.dom.ElementImpl element, State s) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildQuantitative(org.apache.xerces.dom.ElementImpl element, QuantitativeData quantitativeData) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildMeasure(org.apache.xerces.dom.ElementImpl element, StatisticalMeasurementValue statisticalValue) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildTextChar(org.apache.xerces.dom.ElementImpl element, TextData textData) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildContent(org.apache.xerces.dom.ElementImpl element, LanguageString languageString) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildRefAgent(org.apache.xerces.dom.ElementImpl element, TeamOrPersonBase ag, java.lang.String role) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildAgents(org.apache.xerces.dom.ElementImpl dataset) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildCharacterTrees(org.apache.xerces.dom.ElementImpl dataset) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildClassifications(org.apache.xerces.dom.ElementImpl dataset) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildBranches(TermNode<Feature> parent, org.apache.xerces.dom.ElementImpl element, boolean isRoot)
public void buildMediaObjects(org.apache.xerces.dom.ElementImpl dataset) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildPublications(org.apache.xerces.dom.ElementImpl dataset) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public int buildReference(VersionableEntity ve, java.util.Map references, java.lang.String refOrId, org.apache.xerces.dom.ElementImpl element, java.lang.String prefix, int count) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
public void buildGeographicAreas(org.apache.xerces.dom.ElementImpl dataset)
public void buildSpecimens(org.apache.xerces.dom.ElementImpl dataset) throws org.apache.xerces.impl.xpath.regex.ParseException
org.apache.xerces.impl.xpath.regex.ParseException
Copyright © 2007-2020 EDIT. All Rights Reserved.