|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.component.DefaultComponentXmlParser
public class DefaultComponentXmlParser
The default ComponentsXmlParser implementation.
| Constructor Summary | |
|---|---|
DefaultComponentXmlParser()
|
|
| Method Summary | |
|---|---|
XmlDigesterConfigurer |
getDigesterConfigurer()
Returns a digester configurer for the component bundle. |
java.lang.String |
getInternalSchemaResource()
Returns a resource name that resolves to an internal XML schema resource. |
java.lang.String |
getNamespace()
Returns the namespace used by the component bundle. |
java.lang.String |
getPublicSchemaLocation()
Returns the public location of the component bundle XML schema. |
void |
setDigesterConfigurer(XmlDigesterConfigurer digesterConfigurer)
Sets the components digester configurer. |
void |
setInternalSchemaResource(java.lang.String internalSchemaResource)
Sets the internal XML schema resource name. |
void |
setNamespace(java.lang.String namespace)
Sets the components namespace. |
void |
setPublicSchemaLocation(java.lang.String publicSchemaLocation)
Sets the public location of the components XML schema. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultComponentXmlParser()
| Method Detail |
|---|
public java.lang.String getNamespace()
ComponentsXmlParserThe XML representation of the components will use this namespace.
getNamespace in interface ComponentsXmlParserpublic void setNamespace(java.lang.String namespace)
namespace - the components namespacegetNamespace()public XmlDigesterConfigurer getDigesterConfigurer()
ComponentsXmlParser
The digester configurer is responsible for providing digester rules
that transform an XML fragment into a Component instance.
getDigesterConfigurer in interface ComponentsXmlParserpublic void setDigesterConfigurer(XmlDigesterConfigurer digesterConfigurer)
digesterConfigurer - the components digester configurergetDigesterConfigurer()public java.lang.String getPublicSchemaLocation()
ComponentsXmlParser
This would be listed in schemaLocation XML attributes.
getPublicSchemaLocation in interface ComponentsXmlParserpublic void setPublicSchemaLocation(java.lang.String publicSchemaLocation)
publicSchemaLocation - the components XML schema public locationgetPublicSchemaLocation()public java.lang.String getInternalSchemaResource()
ComponentsXmlParserIf not null, the resource (which needs to be present on the classpath) will be used when parsing component XML fragments instead of the public XML schema.
getInternalSchemaResource in interface ComponentsXmlParserpublic void setInternalSchemaResource(java.lang.String internalSchemaResource)
internalSchemaResource - the internal XML schema resource namegetInternalSchemaResource()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||