DeltaXMLBaseException
- a supertype for the following generic exception parametersInvalidInputException
- a parameter for this exception used in various packageLicenseException
- a parameter for this exception used in various packageDifferentRootElementException
- a parameter for this exception used in various packageDoctypeChangeException
- a parameter for this exception used in various packageDoctypeMissingException
- a parameter for this exception used in various packageUnorderedDuplicateKeysException
- a parameter for this exception used in various packageDifferingOrderedAttributesException
- a parameter for this exception used in various packageUnorderedElementContainingPCDATAException
- a parameter for this exception used in various packagepublic interface MergeCommon<DeltaXMLBaseException extends Exception,InvalidInputException extends DeltaXMLBaseException,LicenseException extends DeltaXMLBaseException,DifferentRootElementException extends DeltaXMLBaseException,DoctypeChangeException extends DeltaXMLBaseException,DoctypeMissingException extends DeltaXMLBaseException,UnorderedDuplicateKeysException extends DeltaXMLBaseException,DifferingOrderedAttributesException extends DeltaXMLBaseException,UnorderedElementContainingPCDATAException extends DeltaXMLBaseException> extends MergeBase<DeltaXMLBaseException,InvalidInputException,LicenseException,DifferentRootElementException,DoctypeChangeException,DoctypeMissingException,UnorderedDuplicateKeysException,DifferingOrderedAttributesException,UnorderedElementContainingPCDATAException>
A common interface for concurrent merge classes.
Modifier and Type | Method and Description |
---|---|
String |
getAncestorVersion()
Returns the version name of the ancestor.
|
boolean |
isNewTableProcessingEnabled()
Returns the current setting for new table processing.
|
void |
setAncestor(File file,
String version)
Sets the ancestor document with a File input.
|
void |
setAncestor(InputStream is,
String systemId,
String version)
Sets the ancestor document with a InputStream.
|
void |
setAncestor(Reader r,
String systemId,
String version)
Sets the ancestor document with a Reader.
|
void |
setAncestor(URL url,
String version)
Sets the ancestor document with a URL.
|
void |
setTableProcessingAlgorithmVersion2(boolean value)
Enables new table processing algorithm for CALS and HTML table.
|
addLicenseFile, addLicenseServer, addLicenseServer, addProgressListener, addVersion, addVersion, addVersion, addVersion, clearProgressListeners, extractAll, extractAll, extractAll, getCalsTableConfiguration, getElementSplitting, getEntityResolver, getEntityResolver, getFormatExtractionPriorityList, getFormattingOutputType, getHtmlTableConfiguration, getVersions, getWordByWord, removeProgressListener, reset, setCalsTableConfiguration, setDebug, setElementSplitting, setEntityResolver, setFormatExtractionPriorityList, setFormattingOutputType, setHtmlTableConfiguration, setIndent, setLicenseFile, setLicenseServer, setLicenseServer, setRedistributionLicenseContent, setWordByWord
void setAncestor(File file, String version) throws IllegalStateException, IllegalArgumentException, FileNotFoundException, InvalidInputException extends DeltaXMLBaseException, UnorderedElementContainingPCDATAException extends DeltaXMLBaseException, UnorderedDuplicateKeysException extends DeltaXMLBaseException, LicenseException extends DeltaXMLBaseException
The version parameter appears in the result file and must correspond to the NMTOKEN production rule in the XML Specification (the same production rule is used in both XML 1.0 and XML 1.1). This precludes the use of the '!' (0x21) and '=' (0x3d) characters used for version delimiting and other characters which could cause confusion such as the space character.
file
- The input file which is the ancestor version.version
- The string to use as the name of the version. This appears in the deltaxml:deltaV2
attributes in
the result. This must be an XML NMTOKENFileNotFoundException
- Thrown if the provided file object does not exist.IllegalStateException
- Thrown if the merge object's state is not INITIAL or RESET.IllegalArgumentException
- Thrown if the version parameter is not an NMTOKEN.InvalidInputException
- Thrown if the input is invalid in some way.UnorderedDuplicateKeysException
- Thrown if there are duplicate keys in orderless merge.UnorderedElementContainingPCDATAException
- Thrown if input contains mixed content in orderless merge.LicenseException
- Thrown if there is no license installed, or if the installed license is invalid.InvalidInputException extends DeltaXMLBaseException
void setAncestor(InputStream is, String systemId, String version) throws IllegalStateException, IllegalArgumentException, InvalidInputException extends DeltaXMLBaseException, UnorderedElementContainingPCDATAException extends DeltaXMLBaseException, UnorderedDuplicateKeysException extends DeltaXMLBaseException, LicenseException extends DeltaXMLBaseException
The version parameter appears in the result file and must correspond to the NMTOKEN production rule in the XML Specification (the same production rule is used in both XML 1.0 and XML 1.1). This precludes the use of the '!' (0x21) and '=' (0x3d) characters used for version delimiting and other characters which could cause confusion such as the space character.
is
- The input steam which is the ancestor version.systemId
- The location of the ancestor input stream (for relative lookup).version
- The string to use as the name of the version. This appears in the deltaxml:deltaV2
attributes in
the result. This cannot contain '=' or '!' characters.IllegalStateException
- Thrown if the merge object's state is not INITIAL or RESET.IllegalArgumentException
- Thrown if the version parameter is not an NMTOKEN.InvalidInputException
- Thrown if the input is invalid in some way.UnorderedDuplicateKeysException
- Thrown if there are duplicate keys in orderless merge.UnorderedElementContainingPCDATAException
- Thrown if input contains mixed content in orderless merge.LicenseException
- Thrown if there is no license installed, or if the installed license is invalid.InvalidInputException extends DeltaXMLBaseException
void setAncestor(Reader r, String systemId, String version) throws IllegalStateException, IllegalArgumentException, InvalidInputException extends DeltaXMLBaseException, DifferingOrderedAttributesException extends DeltaXMLBaseException, UnorderedElementContainingPCDATAException extends DeltaXMLBaseException, UnorderedDuplicateKeysException extends DeltaXMLBaseException, LicenseException extends DeltaXMLBaseException
The version parameter appears in the result file and must correspond to the NMTOKEN production rule in the XML Specification (the same production rule is used in both XML 1.0 and XML 1.1). This precludes the use of the '!' (0x21) and '=' (0x3d) characters used for version delimiting and other characters which could cause confusion such as the space character.
r
- The reader which is the ancestor version.systemId
- The location of the ancestor reader (for relative lookup).version
- The string to use as the name of the version. This appears in the deltaxml:deltaV2
attributes in
the result. This cannot contain '=' or '!' characters.IllegalStateException
- Thrown if the merge object's state is not INITIAL or RESET.IllegalArgumentException
- Thrown if the version parameter is not an NMTOKEN.InvalidInputException
- Thrown if the input is invalid in some way.DifferingOrderedAttributesException
- Thrown if inputs have different deltaxml:ordered attribute values.UnorderedDuplicateKeysException
- Thrown if there are duplicate keys in orderless merge.UnorderedElementContainingPCDATAException
- Thrown if input contains mixed content in orderless merge.LicenseException
- Thrown if there is no license installed, or if the installed license is invalid.InvalidInputException extends DeltaXMLBaseException
void setAncestor(URL url, String version) throws IllegalStateException, IllegalArgumentException, IOException, InvalidInputException extends DeltaXMLBaseException, UnorderedElementContainingPCDATAException extends DeltaXMLBaseException, UnorderedDuplicateKeysException extends DeltaXMLBaseException, LicenseException extends DeltaXMLBaseException
The version parameter appears in the result file and must correspond to the NMTOKEN production rule in the XML Specification (the same production rule is used in both XML 1.0 and XML 1.1). This precludes the use of the '!' (0x21) and '=' (0x3d) characters used for version delimiting and other characters which could cause confusion such as the space character.
url
- The URL to load as the ancestor version.version
- The string to use as the name of the version. This appears in the deltaxml:deltaV2
attributes in
the result. This cannot contain '=' or '!' characters.IOException
- Thrown if a stream for the supplied URL cannot be opened.IllegalStateException
- Thrown if the merge object's state is not INITIAL or RESET.IllegalArgumentException
- Thrown if the version parameter is not an NMTOKEN.InvalidInputException
- Thrown if the input is invalid in some way.UnorderedDuplicateKeysException
- Thrown if there are duplicate keys in orderless merge.UnorderedElementContainingPCDATAException
- Thrown if input contains mixed content in orderless merge.LicenseException
- Thrown if there is no license installed, or if the installed license is invalid.InvalidInputException extends DeltaXMLBaseException
String getAncestorVersion()
boolean isNewTableProcessingEnabled()
void setTableProcessingAlgorithmVersion2(boolean value)
value
- The new newTableProcessing setting to use.Copyright © 2023 Deltaman Group Ltd. All Rights Reserved.