Java Doc for CatalogManager.java in  » 6.0-JDK-Modules » jaxb-xjc » com » sun » org » apache » xml » internal » resolver » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » jaxb xjc » com.sun.org.apache.xml.internal.resolver 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.org.apache.xml.internal.resolver.CatalogManager

CatalogManager
public class CatalogManager (Code)
CatalogManager provides an interface to the catalog properties.

Properties can come from two places: from system properties or from a CatalogManager.properties file. This class provides a transparent interface to both, with system properties preferred over property file values.

The following table summarizes the properties:

System Property CatalogManager.properties
Property
Description
xml.catalog.ignoreMissing   If true, a missing CatalogManager.properties file or missing properties within that file will not generate warning messages. See also the ignoreMissingProperties method.
xml.catalog.files catalogs The semicolon-delimited list of catalog files.
  relative-catalogs If false, relative catalog URIs are made absolute with respect to the base URI of the CatalogManager.properties file. This setting only applies to catalog URIs obtained from the catalogs property in the CatalogManager.properties file
xml.catalog.verbosity verbosity If non-zero, the Catalog classes will print informative and debugging messages. The higher the number, the more messages.
xml.catalog.prefer prefer Which identifier is preferred, "public" or "system"?
xml.catalog.staticCatalog static-catalog Should a single catalog be constructed for all parsing, or should a different catalog be created for each parser?
xml.catalog.allowPI allow-oasis-xml-catalog-pi If the source document contains "oasis-xml-catalog" processing instructions, should they be used?
xml.catalog.className catalog-class-name If you're using the convenience classes com.sun.org.apache.xml.internal.resolver.tools.*), this setting allows you to specify an alternate class name to use for the underlying catalog.

See Also:   Catalog
author:
   Norman Walsh
author:
   Norman.Walsh@Sun.COM
version:
   1.0


Field Summary
public  Debugdebug
     The manager's debug object.

Constructor Summary
public  CatalogManager()
     Constructor.
public  CatalogManager(String propertyFile)
     Constructor that specifies an explicit property file.

Method Summary
public  booleanallowOasisXMLCatalogPI()
     Get the current XML Catalog PI setting.
public  StringcatalogClassName()
     Get the current Catalog class name.
public  VectorcatalogFiles()
     Return the current list of catalog files.
public  booleangetAllowOasisXMLCatalogPI()
     Get the current XML Catalog PI setting.
public  BootstrapResolvergetBootstrapResolver()
     Get the bootstrap resolver.
public  CataloggetCatalog()
     Get a catalog instance. If this manager uses static catalogs, the same static catalog will always be returned.
public  StringgetCatalogClassName()
     Get the current Catalog class name.
public  VectorgetCatalogFiles()
     Return the current list of catalog files.
public  booleangetIgnoreMissingProperties()
     How are missing properties handled?

If true, missing or unreadable property files will not be reported.

public  booleangetPreferPublic()
     Return the current prefer public setting.
public  CataloggetPrivateCatalog()
     Get a new catalog instance.
public  booleangetRelativeCatalogs()
     Get the relativeCatalogs setting.

This property is used when the catalogFiles property is interrogated.

public static  CatalogManagergetStaticManager()
    
public  booleangetUseStaticCatalog()
     Get the current use static catalog setting.
public  intgetVerbosity()
    
public  voidignoreMissingProperties(boolean ignore)
     How are missing properties handled?

If ignore is true, missing or unreadable property files will not be reported.

public  booleanpreferPublic()
     Return the current prefer public setting.
public  booleanqueryAllowOasisXMLCatalogPI()
    
public  StringqueryCatalogClassName()
     Obtain the Catalog class name setting from the properties.
public  booleanrelativeCatalogs()
     Get the relativeCatalogs setting.
public  voidsetAllowOasisXMLCatalogPI(boolean allowPI)
    
public  voidsetBootstrapResolver(BootstrapResolver resolver)
     Set the bootstrap resolver.
public  voidsetCatalogClassName(String className)
     Set the Catalog class name.
public  voidsetCatalogFiles(String fileList)
     Set the list of catalog files.
public  voidsetIgnoreMissingProperties(boolean ignore)
     How should missing properties be handled?

If ignore is true, missing or unreadable property files will not be reported.

public  voidsetPreferPublic(boolean preferPublic)
     Set the prefer public setting.
public  voidsetRelativeCatalogs(boolean relative)
     Set the relativeCatalogs setting.
public  voidsetUseStaticCatalog(boolean useStatic)
     Set the use static catalog setting.
public  voidsetVerbosity(int verbosity)
     Set the current verbosity.
public  booleanstaticCatalog()
     Get the current use static catalog setting.
public  intverbosity()
    

Field Detail
debug
public Debug debug(Code)
The manager's debug object. Used for printing debugging messages.

This field is public so that objects that have access to this CatalogManager can use this debug object.





Constructor Detail
CatalogManager
public CatalogManager()(Code)
Constructor.



CatalogManager
public CatalogManager(String propertyFile)(Code)
Constructor that specifies an explicit property file.




Method Detail
allowOasisXMLCatalogPI
public boolean allowOasisXMLCatalogPI()(Code)
Get the current XML Catalog PI setting.



catalogClassName
public String catalogClassName()(Code)
Get the current Catalog class name.



catalogFiles
public Vector catalogFiles()(Code)
Return the current list of catalog files. A vector of the catalog file names or null if no catalogsare available in the properties.



getAllowOasisXMLCatalogPI
public boolean getAllowOasisXMLCatalogPI()(Code)
Get the current XML Catalog PI setting.



getBootstrapResolver
public BootstrapResolver getBootstrapResolver()(Code)
Get the bootstrap resolver.



getCatalog
public Catalog getCatalog()(Code)
Get a catalog instance. If this manager uses static catalogs, the same static catalog will always be returned. Otherwise a new catalog will be returned.



getCatalogClassName
public String getCatalogClassName()(Code)
Get the current Catalog class name.



getCatalogFiles
public Vector getCatalogFiles()(Code)
Return the current list of catalog files. A vector of the catalog file names or null if no catalogsare available in the properties.



getIgnoreMissingProperties
public boolean getIgnoreMissingProperties()(Code)
How are missing properties handled?

If true, missing or unreadable property files will not be reported. Otherwise, a message will be sent to System.err.




getPreferPublic
public boolean getPreferPublic()(Code)
Return the current prefer public setting. True if public identifiers are preferred.



getPrivateCatalog
public Catalog getPrivateCatalog()(Code)
Get a new catalog instance. This method always returns a new instance of the underlying catalog class.



getRelativeCatalogs
public boolean getRelativeCatalogs()(Code)
Get the relativeCatalogs setting.

This property is used when the catalogFiles property is interrogated. If true, then relative catalog entry file names are returned. If false, relative catalog entry file names are made absolute with respect to the properties file before returning them.

This property only applies when the catalog files come from a properties file. If they come from a system property or the default list, they are never considered relative. (What would they be relative to?)

In the properties, a value of 'yes', 'true', or '1' is considered true, anything else is false.

The relativeCatalogs setting from the propertyFile or thedefaultRelativeCatalogs.



getStaticManager
public static CatalogManager getStaticManager()(Code)
Allow access to the static CatalogManager



getUseStaticCatalog
public boolean getUseStaticCatalog()(Code)
Get the current use static catalog setting.



getVerbosity
public int getVerbosity()(Code)
What is the current verbosity?



ignoreMissingProperties
public void ignoreMissingProperties(boolean ignore)(Code)
How are missing properties handled?

If ignore is true, missing or unreadable property files will not be reported. Otherwise, a message will be sent to System.err.




preferPublic
public boolean preferPublic()(Code)
Return the current prefer public setting. True if public identifiers are preferred.



queryAllowOasisXMLCatalogPI
public boolean queryAllowOasisXMLCatalogPI()(Code)

Obtain the oasisXMLCatalogPI setting from the properties.

In the properties, a value of 'yes', 'true', or '1' is considered true, anything else is false.

The oasisXMLCatalogPI setting from the propertyFile or thedefaultOasisXMLCatalogPI.



queryCatalogClassName
public String queryCatalogClassName()(Code)
Obtain the Catalog class name setting from the properties.



relativeCatalogs
public boolean relativeCatalogs()(Code)
Get the relativeCatalogs setting.



setAllowOasisXMLCatalogPI
public void setAllowOasisXMLCatalogPI(boolean allowPI)(Code)
Set the XML Catalog PI setting



setBootstrapResolver
public void setBootstrapResolver(BootstrapResolver resolver)(Code)
Set the bootstrap resolver.



setCatalogClassName
public void setCatalogClassName(String className)(Code)
Set the Catalog class name.



setCatalogFiles
public void setCatalogFiles(String fileList)(Code)
Set the list of catalog files.



setIgnoreMissingProperties
public void setIgnoreMissingProperties(boolean ignore)(Code)
How should missing properties be handled?

If ignore is true, missing or unreadable property files will not be reported. Otherwise, a message will be sent to System.err.




setPreferPublic
public void setPreferPublic(boolean preferPublic)(Code)
Set the prefer public setting.



setRelativeCatalogs
public void setRelativeCatalogs(boolean relative)(Code)
Set the relativeCatalogs setting.
See Also:   CatalogManager.getRelativeCatalogs()



setUseStaticCatalog
public void setUseStaticCatalog(boolean useStatic)(Code)
Set the use static catalog setting.



setVerbosity
public void setVerbosity(int verbosity)(Code)
Set the current verbosity.



staticCatalog
public boolean staticCatalog()(Code)
Get the current use static catalog setting.



verbosity
public int verbosity()(Code)
What is the current verbosity?



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w_w_w._j_a___v___a2_s.__c_o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.