org.jmage.filterchain
Class XmlFilterChainDeserializer

java.lang.Object
  extended by org.jmage.filterchain.XmlFilterChainDeserializer

public class XmlFilterChainDeserializer
extends java.lang.Object

Creates a FilterChain from serialized xml format, written by FilterChainXmlSerializer. Class is *not* threadsafe.


Field Summary
protected  java.lang.String chainName
           
protected static java.lang.String DOLLAR
           
 
Constructor Summary
XmlFilterChainDeserializer()
           
 
Method Summary
protected  ImageFilter createFilter(java.lang.String filterName)
           
 FilterChain deserialize(org.w3c.dom.Document document)
           
 FilterChain deserialize(org.w3c.dom.Document document, java.lang.String filterChainName)
           
protected  FilterChain deserialize(org.w3c.dom.Node filterChainNode)
           
protected  FilterChain deserialize(org.w3c.dom.Node filterChainNode, java.lang.String filterChainName)
           
protected  void deserializeFilter(org.w3c.dom.Node filterNode, FilterChain chain)
           
protected  void deserializeFilterProperties(org.w3c.dom.Node filterNode, java.util.Properties filterProperties)
           
protected  java.lang.String deserializeFilterPropertyImageURI(java.lang.String name, org.w3c.dom.Node filterNode, java.lang.String value)
           
protected  FilterChain deserializeFilters(org.w3c.dom.Node documentNode, FilterChain chain)
           
protected  FilterChain deserializeInternalFilterChain(java.util.StringTokenizer st, org.w3c.dom.Node documentNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chainName

protected java.lang.String chainName

DOLLAR

protected static final java.lang.String DOLLAR
See Also:
Constant Field Values
Constructor Detail

XmlFilterChainDeserializer

public XmlFilterChainDeserializer()
Method Detail

deserialize

public FilterChain deserialize(org.w3c.dom.Document document)
                        throws FilterException
Throws:
FilterException

deserialize

public FilterChain deserialize(org.w3c.dom.Document document,
                               java.lang.String filterChainName)
                        throws FilterException
Throws:
FilterException

deserialize

protected FilterChain deserialize(org.w3c.dom.Node filterChainNode)
                           throws FilterException
Throws:
FilterException

deserialize

protected FilterChain deserialize(org.w3c.dom.Node filterChainNode,
                                  java.lang.String filterChainName)
                           throws FilterException
Throws:
FilterException

deserializeInternalFilterChain

protected FilterChain deserializeInternalFilterChain(java.util.StringTokenizer st,
                                                     org.w3c.dom.Node documentNode)
                                              throws javax.naming.directory.NoSuchAttributeException,
                                                     FilterException
Throws:
javax.naming.directory.NoSuchAttributeException
FilterException

deserializeFilters

protected FilterChain deserializeFilters(org.w3c.dom.Node documentNode,
                                         FilterChain chain)
                                  throws javax.naming.directory.NoSuchAttributeException,
                                         FilterException
Throws:
javax.naming.directory.NoSuchAttributeException
FilterException

deserializeFilter

protected void deserializeFilter(org.w3c.dom.Node filterNode,
                                 FilterChain chain)
                          throws javax.naming.directory.NoSuchAttributeException,
                                 FilterException
Throws:
javax.naming.directory.NoSuchAttributeException
FilterException

deserializeFilterProperties

protected void deserializeFilterProperties(org.w3c.dom.Node filterNode,
                                           java.util.Properties filterProperties)
                                    throws javax.naming.directory.NoSuchAttributeException
Throws:
javax.naming.directory.NoSuchAttributeException

deserializeFilterPropertyImageURI

protected java.lang.String deserializeFilterPropertyImageURI(java.lang.String name,
                                                             org.w3c.dom.Node filterNode,
                                                             java.lang.String value)
                                                      throws javax.naming.directory.NoSuchAttributeException
Throws:
javax.naming.directory.NoSuchAttributeException

createFilter

protected ImageFilter createFilter(java.lang.String filterName)
                            throws FilterException
Throws:
FilterException


Copyright © 2004-2008 Sourceforge. All Rights Reserved.