org.netbeans.spi.xml.cookies |
XML Tools Cookies SPI
Classes supporting cookie providers.
XML Tools Cookies SPI
This package contains supports for XML Tools Cookies API providers.
Requirements
Support classes must be:
- directly useful for common cases (XML is primary file)
- customizable for special cases
DataObject Supports
ValidateXMLSupport and CheckXMLSupport are provided for DataObject 's
EditorCookie or FileObject style input sources.
Other Supports
InputSource generalization may be required.
|
Java Source File Name | Type | Comment |
CheckXMLSupport.java | Class | CheckXMLCookie implementation support simplifing cookie providers
based on InputSource s representing XML documents and entities.
Primary use case in a DataObject subclass (which primary file is XML):
CookieSet cookies = getCookieSet();
InputSource in = DataObjectAdapters.inputSource(this);
CheckXMLSupport cookieImpl = new CheckXMLSupport(in);
cookies.add(cookieImpl);
Secondary use case: Subclasses can customize the class by customization
protected methods. |
DataObjectAdapters.java | Class | Adapt DataObject to other common XML interfaces. |
DefaultXMLProcessorDetail.java | Class | Default XML processor observer message implementation. |
ShareableInputSource.java | Class | Input source that can be sequentially shared including its steams.
Use
ShareableInputSource.reset before passing it to subsequent procesor. |
SharedXMLSupport.java | Class | CheckXMLCookie and ValidateXMLCookie cookie
implementation support simplifing cookie providers based on
InputSource s representing XML documents and entities. |
SharedXMLSupportTest.java | Class | Trivial golden type support tests. |
TransformableSupport.java | Class | Perform Transform action on XML document. |
TransformableSupportTest.java | Class | |
Util.java | Class | |
ValidateXMLSupport.java | Class | ValidateXMLCookie implementation support simplifing cookie
providers based on InputSource s representing XML documents
and entities.
Primary use case in a DataObject subclass (which primary file is XML):
CookieSet cookies = getCookieSet();
InputSource in = DataObjectAdapters.inputSource(this);
ValidateXMLSupport cookieImpl = new ValidateXMLSupport(in);
cookies.add(cookieImpl);
Secondary use case: Subclasses can customize the class by customization
protected methods. |