public class Workspace.Handler extends ExtensionPoint.ExtensionHandler
app:workspaceextendedClass, extManifest, extProfile, hasExtensionsqName, value, xmlBase, xmlLang| Constructor and Description |
|---|
Workspace.Handler(ExtensionProfile extProfile,
org.xml.sax.Attributes attrs) |
| Modifier and Type | Method and Description |
|---|---|
XmlParser.ElementHandler |
getChildHandler(java.lang.String namespace,
java.lang.String localName,
org.xml.sax.Attributes attrs)
Determines a handler for a child element.
|
processEndElementgetAbsoluteUri, getBooleanAttribute, getChildHandler, initializeXmlBlob, parseBooleanValue, processAttribute, processAttributepublic Workspace.Handler(ExtensionProfile extProfile, org.xml.sax.Attributes attrs)
public XmlParser.ElementHandler getChildHandler(java.lang.String namespace, java.lang.String localName, org.xml.sax.Attributes attrs) throws ParseException, java.io.IOException
XmlParser.ElementHandler
The default implementation doesn't recognize anything. The result is a
schema error unless the parent handler accepts unrecognized XML.
XmlParser.
localname/namespace.
getChildHandler in class ExtensionPoint.ExtensionHandlernamespace - Child element namespace URI.localName - Child element name.attrs - Child element attributes. These attributes will be
communicated to the child element handler through its
XmlParser.ElementHandler.processAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String) method. They are passed here because
sometimes the value of some attribute determines the element's
content type, so different element handlers may be needed.null if the child is
unrecognized.ParseException - Invalid child element.java.io.IOException - Internal I/O exception (e.g., thrown by XML blob writer).