org.obe.xpdl.model.data
Class XMLFragment
java.lang.Object
org.obe.util.AbstractBean
org.obe.xpdl.model.data.XMLFragment
- All Implemented Interfaces:
- java.beans.beancontext.BeanContextChild, java.io.Serializable
- Direct Known Subclasses:
- ExtendedAttributes, SchemaType
- public abstract class XMLFragment
- extends AbstractBean
An abstract class that represents a fragment of an XML document.
- Author:
- Adrian Price
- See Also:
- Serialized Form
Methods inherited from class org.obe.util.AbstractBean |
add, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clear, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, get, get, getBeanContext, getListModel, hasChangeListeners, hasVetoListeners, remove, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, set, set, setBeanContext |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MAX_TOSTRING_TEXT_LEN
public static final int MAX_TOSTRING_TEXT_LEN
- See Also:
- Constant Field Values
XMLFragment
protected XMLFragment()
XMLFragment
protected XMLFragment(java.lang.String text)
throws XMLException
XMLFragment
protected XMLFragment(org.w3c.dom.Document document)
throws XMLException
getDocumentElementName
protected abstract java.lang.String getDocumentElementName()
- Returns the unqualified name of the required document element.
- Returns:
- Unqualified element name.
getDocumentElementNamespaceURI
protected abstract java.lang.String getDocumentElementNamespaceURI()
- Returns the required document element namespace URI.
- Returns:
- Required namespace URI.
getText
public final java.lang.String getText()
setText
public final void setText(java.lang.String text)
throws XMLException
- Throws:
XMLException
getDocument
public final org.w3c.dom.Document getDocument()
throws XMLException
- Throws:
XMLException
setDocument
public final void setDocument(org.w3c.dom.Document document)
throws XMLException
- Throws:
XMLException
equals
public boolean equals(java.lang.Object obj)
hashCode
public int hashCode()
toString
public final java.lang.String toString()
OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.