com.ptc.windchill.structconf.xconf
Interface XconfHandler

All Known Implementing Classes:
DefaultXconfHandler

public interface XconfHandler

An interface for classes wishing to receive parse "events" produced by an XconfParser.

See Also:
XconfParser, XconfUtil

Method Summary
 void addToProperty(XconfParser parser, String property_name, String value)
           
 void endConfiguration(XconfParser parser, URL xconf_file)
           
 void endResource(XconfParser parser, String resource_name, String resource_context)
           
 void endService(XconfParser parser, String service_name, String service_context)
           
 void propagationActionDeclared(XconfParser parser, String class_name, String[] class_path_entries)
           
 void propertyDeclared(XconfParser parser, String property_name, String default_value, boolean overridable, String multivalued_delimiter, PropertyDocumentation documentation)
           
 void propertyReset(XconfParser parser, String property_name)
           
 void propertySiteValue(XconfParser parser, String property_name, String value)
           
 void propertyUndefined(XconfParser parser, String property_name)
           
 void referencedConfigurationNotFound(XconfParser parser, URL href)
           
 void removeFromProperty(XconfParser parser, String property_name, String value)
           
 void resourceOption(XconfParser parser, String selector, String requestor, int order, String resource, boolean overridable)
           
 void serviceOption(XconfParser parser, String selector, String requestor, int order, String service_class, String cardinality, boolean overridable)
           
 void startConfiguration(XconfParser parser, URL xconf_file)
           
 void startResource(XconfParser parser, String resource_name, String resource_context)
           
 void startService(XconfParser parser, String service_name, String service_context)
           
 

Method Detail

referencedConfigurationNotFound

public void referencedConfigurationNotFound(XconfParser parser,
                                            URL href)
                                     throws SAXException
Throws:
SAXException

startConfiguration

public void startConfiguration(XconfParser parser,
                               URL xconf_file)
                        throws SAXException
Throws:
SAXException

endConfiguration

public void endConfiguration(XconfParser parser,
                             URL xconf_file)
                      throws SAXException
Throws:
SAXException

propertyDeclared

public void propertyDeclared(XconfParser parser,
                             String property_name,
                             String default_value,
                             boolean overridable,
                             String multivalued_delimiter,
                             PropertyDocumentation documentation)
                      throws SAXException
Parameters:
parser -
property_name -
default_value -
overridable -
multivalued_delimiter - null if property is not multivalued, not-null if it is...string will be the delimiter for separating values
documentation -
Throws:
SAXException

propertySiteValue

public void propertySiteValue(XconfParser parser,
                              String property_name,
                              String value)
                       throws SAXException
Throws:
SAXException

addToProperty

public void addToProperty(XconfParser parser,
                          String property_name,
                          String value)
                   throws SAXException
Throws:
SAXException

removeFromProperty

public void removeFromProperty(XconfParser parser,
                               String property_name,
                               String value)
                        throws SAXException
Throws:
SAXException

propertyUndefined

public void propertyUndefined(XconfParser parser,
                              String property_name)
                       throws SAXException
Throws:
SAXException

propertyReset

public void propertyReset(XconfParser parser,
                          String property_name)
                   throws SAXException
Throws:
SAXException

startService

public void startService(XconfParser parser,
                         String service_name,
                         String service_context)
                  throws SAXException
Throws:
SAXException

endService

public void endService(XconfParser parser,
                       String service_name,
                       String service_context)
                throws SAXException
Throws:
SAXException

startResource

public void startResource(XconfParser parser,
                          String resource_name,
                          String resource_context)
                   throws SAXException
Throws:
SAXException

endResource

public void endResource(XconfParser parser,
                        String resource_name,
                        String resource_context)
                 throws SAXException
Throws:
SAXException

serviceOption

public void serviceOption(XconfParser parser,
                          String selector,
                          String requestor,
                          int order,
                          String service_class,
                          String cardinality,
                          boolean overridable)
                   throws SAXException
Throws:
SAXException

resourceOption

public void resourceOption(XconfParser parser,
                           String selector,
                           String requestor,
                           int order,
                           String resource,
                           boolean overridable)
                    throws SAXException
Throws:
SAXException

propagationActionDeclared

public void propagationActionDeclared(XconfParser parser,
                                      String class_name,
                                      String[] class_path_entries)
                               throws SAXException
Throws:
SAXException