org.objectweb.jonas_ejb.deployment.xml
Class AssemblyDescriptorImpl
java.lang.Object
|
+--org.xml.sax.helpers.DefaultHandler
|
+--org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptorImpl
- All Implemented Interfaces:
- AssemblyDescriptor, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, java.io.Serializable, Unmarshallable
- public class AssemblyDescriptorImpl
- extends org.xml.sax.helpers.DefaultHandler
- implements Unmarshallable, AssemblyDescriptor
- See Also:
- Serialized Form
Method Summary |
void |
addContainerTransaction(ContainerTransaction containerTransaction)
|
void |
addMethodPermission(MethodPermission methodPermission)
|
void |
addSecurityRole(SecurityRole securityRole)
|
void |
characters(char[] ch,
int start,
int len)
|
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
|
java.util.List |
getContainerTransactionList()
|
Unmarshallable |
getCurrentUNode()
|
ExcludeList |
getExcludeList()
|
java.lang.String |
getId()
|
java.util.List |
getMethodPermissionList()
|
Unmarshallable |
getParentUNode()
|
java.util.List |
getSecurityRoleList()
|
void |
marshal(java.io.File file)
|
void |
marshal(java.io.OutputStream outputStream)
|
void |
marshal(java.io.Writer writer)
|
void |
removeContainerTransaction(ContainerTransaction containerTransaction)
|
void |
removeMethodPermission(MethodPermission methodPermission)
|
void |
removeSecurityRole(SecurityRole securityRole)
|
void |
setContainerTransactionList(java.util.List containerTransactionList)
|
void |
setCurrentUNode(Unmarshallable currentUNode)
|
static void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
This sets a SAX EntityResolver for this unmarshalling process. |
static void |
setErrorHandler(org.xml.sax.ErrorHandler handler)
This sets a SAX ErrorHandler for this unmarshalling process. |
void |
setExcludeList(ExcludeList excludeList)
|
void |
setId(java.lang.String id)
|
void |
setMethodPermissionList(java.util.List methodPermissionList)
|
void |
setParentUNode(Unmarshallable parentUNode)
|
void |
setSecurityRoleList(java.util.List securityRoleList)
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
|
static AssemblyDescriptor |
unmarshal(java.io.File file)
|
static AssemblyDescriptor |
unmarshal(java.io.File file,
boolean validate)
|
static AssemblyDescriptor |
unmarshal(java.io.InputStream inputStream)
|
static AssemblyDescriptor |
unmarshal(java.io.InputStream inputStream,
boolean validate)
|
static AssemblyDescriptor |
unmarshal(java.io.Reader reader)
|
static AssemblyDescriptor |
unmarshal(java.io.Reader reader,
boolean validate)
|
protected void |
writeXMLRepresentation(java.io.Writer writer,
java.lang.String indent)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xml.sax.ContentHandler |
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping |
AssemblyDescriptorImpl
public AssemblyDescriptorImpl()
getSecurityRoleList
public java.util.List getSecurityRoleList()
- Specified by:
getSecurityRoleList
in interface AssemblyDescriptor
setSecurityRoleList
public void setSecurityRoleList(java.util.List securityRoleList)
- Specified by:
setSecurityRoleList
in interface AssemblyDescriptor
addSecurityRole
public void addSecurityRole(SecurityRole securityRole)
- Specified by:
addSecurityRole
in interface AssemblyDescriptor
removeSecurityRole
public void removeSecurityRole(SecurityRole securityRole)
- Specified by:
removeSecurityRole
in interface AssemblyDescriptor
getMethodPermissionList
public java.util.List getMethodPermissionList()
- Specified by:
getMethodPermissionList
in interface AssemblyDescriptor
setMethodPermissionList
public void setMethodPermissionList(java.util.List methodPermissionList)
- Specified by:
setMethodPermissionList
in interface AssemblyDescriptor
addMethodPermission
public void addMethodPermission(MethodPermission methodPermission)
- Specified by:
addMethodPermission
in interface AssemblyDescriptor
removeMethodPermission
public void removeMethodPermission(MethodPermission methodPermission)
- Specified by:
removeMethodPermission
in interface AssemblyDescriptor
getContainerTransactionList
public java.util.List getContainerTransactionList()
- Specified by:
getContainerTransactionList
in interface AssemblyDescriptor
setContainerTransactionList
public void setContainerTransactionList(java.util.List containerTransactionList)
- Specified by:
setContainerTransactionList
in interface AssemblyDescriptor
addContainerTransaction
public void addContainerTransaction(ContainerTransaction containerTransaction)
- Specified by:
addContainerTransaction
in interface AssemblyDescriptor
removeContainerTransaction
public void removeContainerTransaction(ContainerTransaction containerTransaction)
- Specified by:
removeContainerTransaction
in interface AssemblyDescriptor
getExcludeList
public ExcludeList getExcludeList()
- Specified by:
getExcludeList
in interface AssemblyDescriptor
setExcludeList
public void setExcludeList(ExcludeList excludeList)
- Specified by:
setExcludeList
in interface AssemblyDescriptor
getId
public java.lang.String getId()
- Specified by:
getId
in interface AssemblyDescriptor
setId
public void setId(java.lang.String id)
- Specified by:
setId
in interface AssemblyDescriptor
marshal
public void marshal(java.io.File file)
throws java.io.IOException
- Specified by:
marshal
in interface AssemblyDescriptor
marshal
public void marshal(java.io.OutputStream outputStream)
throws java.io.IOException
- Specified by:
marshal
in interface AssemblyDescriptor
marshal
public void marshal(java.io.Writer writer)
throws java.io.IOException
- Specified by:
marshal
in interface AssemblyDescriptor
writeXMLRepresentation
protected void writeXMLRepresentation(java.io.Writer writer,
java.lang.String indent)
throws java.io.IOException
setEntityResolver
public static void setEntityResolver(org.xml.sax.EntityResolver resolver)
This sets a SAX EntityResolver
for this unmarshalling process.
- Parameters:
resolver
- the entity resolver to use.
setErrorHandler
public static void setErrorHandler(org.xml.sax.ErrorHandler handler)
This sets a SAX ErrorHandler
for this unmarshalling process.
- Parameters:
handler
- the entity resolver to use.
unmarshal
public static AssemblyDescriptor unmarshal(java.io.File file)
throws java.io.IOException
unmarshal
public static AssemblyDescriptor unmarshal(java.io.File file,
boolean validate)
throws java.io.IOException
unmarshal
public static AssemblyDescriptor unmarshal(java.io.InputStream inputStream)
throws java.io.IOException
unmarshal
public static AssemblyDescriptor unmarshal(java.io.InputStream inputStream,
boolean validate)
throws java.io.IOException
unmarshal
public static AssemblyDescriptor unmarshal(java.io.Reader reader)
throws java.io.IOException
unmarshal
public static AssemblyDescriptor unmarshal(java.io.Reader reader,
boolean validate)
throws java.io.IOException
getParentUNode
public Unmarshallable getParentUNode()
- Specified by:
getParentUNode
in interface Unmarshallable
setParentUNode
public void setParentUNode(Unmarshallable parentUNode)
- Specified by:
setParentUNode
in interface Unmarshallable
getCurrentUNode
public Unmarshallable getCurrentUNode()
- Specified by:
getCurrentUNode
in interface Unmarshallable
setCurrentUNode
public void setCurrentUNode(Unmarshallable currentUNode)
- Specified by:
setCurrentUNode
in interface Unmarshallable
startElement
public void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
- Specified by:
startElement
in interface org.xml.sax.ContentHandler
- Overrides:
startElement
in class org.xml.sax.helpers.DefaultHandler
endElement
public void endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
- Specified by:
endElement
in interface org.xml.sax.ContentHandler
- Overrides:
endElement
in class org.xml.sax.helpers.DefaultHandler
characters
public void characters(char[] ch,
int start,
int len)
throws org.xml.sax.SAXException
- Specified by:
characters
in interface org.xml.sax.ContentHandler
- Overrides:
characters
in class org.xml.sax.helpers.DefaultHandler