org.kuali.rice.kew.routeheader
Class StandardDocumentContent

java.lang.Object
  extended by org.kuali.rice.kew.routeheader.StandardDocumentContent
All Implemented Interfaces:
java.io.Serializable, DocumentContent
Direct Known Subclasses:
AttributeDocumentContent

public class StandardDocumentContent
extends java.lang.Object
implements DocumentContent, java.io.Serializable

Standard implementation of DocumentContent which nows hows to parse a String that it's constructed with into content with the application, attribute, and searchable content sections.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
StandardDocumentContent(java.lang.String docContent)
           
StandardDocumentContent(java.lang.String docContent, RouteContext routeContext)
           
 
Method Summary
 org.w3c.dom.Element getApplicationContent()
           
 org.w3c.dom.Element getAttributeContent()
           
 java.lang.String getDocContent()
           
 org.w3c.dom.Document getDocument()
           
 RouteContext getRouteContext()
           
 org.w3c.dom.Element getSearchableContent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardDocumentContent

public StandardDocumentContent(java.lang.String docContent)
                        throws org.kuali.rice.kew.exception.InvalidXmlException
Throws:
org.kuali.rice.kew.exception.InvalidXmlException

StandardDocumentContent

public StandardDocumentContent(java.lang.String docContent,
                               RouteContext routeContext)
                        throws org.kuali.rice.kew.exception.InvalidXmlException
Throws:
org.kuali.rice.kew.exception.InvalidXmlException
Method Detail

getApplicationContent

public org.w3c.dom.Element getApplicationContent()
Specified by:
getApplicationContent in interface DocumentContent

getAttributeContent

public org.w3c.dom.Element getAttributeContent()
Specified by:
getAttributeContent in interface DocumentContent

getDocContent

public java.lang.String getDocContent()
Specified by:
getDocContent in interface DocumentContent

getDocument

public org.w3c.dom.Document getDocument()
Specified by:
getDocument in interface DocumentContent

getSearchableContent

public org.w3c.dom.Element getSearchableContent()
Specified by:
getSearchableContent in interface DocumentContent

getRouteContext

public RouteContext getRouteContext()
Specified by:
getRouteContext in interface DocumentContent


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.