Method Summary |
|
public void | clearParserErrorMessages() |
public synchronized void | closeAllPackages() |
public synchronized Package | closePackageVersion(String pkgId, String pkgVer) |
public synchronized List | closePackages(String pkgId) |
public synchronized boolean | doesPackageFileExists(String xmlFile) |
public synchronized String | getAbsoluteFilePath(Package pkg) |
public synchronized Collection | getAllPackageFilenames() |
public synchronized Collection | getAllPackageIds() |
public Collection | getAllPackageVersions(String pkgId) |
public synchronized Collection | getAllPackages() |
public synchronized Package | getExternalPackageByRelativeFilePath(String relativePathToExtPkg, Package rootPkg) |
public synchronized Package | getPackageByFilename(String filename) |
public synchronized Package | getPackageById(String pkgId) |
public synchronized Package | getPackageByIdAndVersion(String pkgId, String version) |
public synchronized String | getParentDirectory(Package pkg) |
public Map | getParsingErrorMessages() This method should be called immediatelly after opening a document,
otherwise, messages could be invalid. |
public XPDLRepositoryHandler | getXPDLRepositoryHandler() |
public synchronized boolean | isPackageOpened(String pkgId) |
public Package | openPackage(String pkgReference, boolean handleExternalPackages) |
public Package | openPackageFromStream(byte[] pkgContent, boolean isFileStream) This implementation assumes that external package references have the similar
name as Id of external package, i.e. |
protected Package | openPackageRecursively(String pkgReference, boolean handleExternalPackages) |
public Package | openPackagesFromStreams(List pkgContents, boolean isFileStream) Opens all the packages represented by their streams, and returns first of them.
This implementation assumes that external package references have the similar
name as Id of external package, i.e. |
public Package | parseDocument(String toParse, boolean isFile) |
public void | printDebug() |
public void | setLocale(Locale locale) |
public void | setValidation(boolean isActive) |
public void | setXPDLRepositoryHandler(XPDLRepositoryHandler newXPDLRep) |
public synchronized void | synchronizePackages(XMLInterface xmlInterface) |