jp.sourceforge.sqs_xml.editor.model
クラス Strong

java.lang.Object
  拡張jp.sourceforge.sqs_xml.editor.model.Strong
すべての実装インタフェース:
java.lang.Cloneable, IInlinemoduleMixed, IInlinemoduleMixedChoice, IRNode, IRNSContainer, java.io.Serializable

public class Strong
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, IRNSContainer, IRNode, IInlinemoduleMixed, IInlinemoduleMixedChoice

Strong is generated from sqs.rng by Relaxer. This class is derived from:

 <element name="strong" ns="http://www.w3.org/TR/xhtml2">
       <zeroOrMore>    
          <ref name="inlinemodule"/>    
       </zeroOrMore>         
     </element>

バージョン:
sqs.rng (Thu Jul 22 18:24:57 GMT+09:00 2004)
作成者:
Relaxer 1.1b (http://www.relaxer.org)
関連項目:
直列化された形式

コンストラクタの概要
Strong()
          Creates a Strong.
Strong(org.w3c.dom.Document doc)
          Creates a Strong by the Document doc.
Strong(org.w3c.dom.Element element)
          Creates a Strong by the Element element.
Strong(java.io.File file)
          Creates a Strong by the File file.
Strong(org.xml.sax.InputSource is)
          Creates a Strong by the InputSource is.
Strong(java.io.InputStream in)
          Creates a Strong by the InputStream in.
Strong(java.io.Reader reader)
          Creates a Strong by the Reader reader.
Strong(RStack stack)
          Creates a Strong by the Stack stack that contains Elements.
Strong(java.lang.String uri)
          Creates a Strong by the String representation of URI uri.
Strong(Strong source)
          Creates a Strong.
Strong(java.net.URL url)
          Creates a Strong by the URL url.
 
メソッドの概要
 void addContent(IInlinemoduleMixed content)
          Adds the IInlinemoduleMixed property content.
 void addContent(IInlinemoduleMixed[] content)
          Adds the IInlinemoduleMixed property content.
 void addContent(int index, IInlinemoduleMixed content)
          Adds the IInlinemoduleMixed property content by index.
 void addContent(org.w3c.dom.Node value)
          Adds a mixed content by org.w3c.dom.Node.
 void addContent(java.lang.String value)
          Adds a mixed content by String.
 void addContentByString(java.lang.String value)
          Adds a mixed content by String.
 void clearContent()
          Clear the IInlinemoduleMixed property content.
 java.lang.Object clone()
           
 IInlinemoduleMixed[] getContent()
          Gets the IInlinemoduleMixed property content.
 IInlinemoduleMixed getContent(int index)
          Gets the IInlinemoduleMixed property content by index.
static boolean isMatch(org.w3c.dom.Element element)
          Tests if a Element element is valid for the Strong.
static boolean isMatch(RStack stack)
          Tests if elements contained in a Stack stack is valid for the Strong.
static boolean isMatchHungry(RStack stack)
          Tests if elements contained in a Stack stack is valid for the Strong.
 org.w3c.dom.Document makeDocument()
          Creates a DOM document representation of the object.
 void makeElement(org.w3c.dom.Node parent)
          Creates a DOM representation of the object.
 void makeTextAttribute(java.io.PrintWriter buffer)
          Makes an XML text representation.
 void makeTextAttribute(java.lang.StringBuffer buffer)
          Makes an XML text representation.
 void makeTextAttribute(java.io.Writer buffer)
          Makes an XML text representation.
 java.lang.String makeTextDocument()
          Makes an XML text representation.
 void makeTextElement(java.io.PrintWriter buffer)
          Makes an XML text representation.
 void makeTextElement(java.lang.StringBuffer buffer)
          Makes an XML text representation.
 void makeTextElement(java.io.Writer buffer)
          Makes an XML text representation.
 void removeContent(IInlinemoduleMixed content)
          Remove the IInlinemoduleMixed property content by object.
 void removeContent(int index)
          Remove the IInlinemoduleMixed property content by index.
 org.w3c.dom.Element rGetElement()
          Gets the element to be used in the object construction.
 IRNode rGetParentRNode()
          Gets the IRNode property parentRNode.
 IRNode[] rGetRNodes()
          Gets child RNodes.
 RNSContext rGetRNSContext()
          Gets the RNSContext property RNSContext.
 void rSetParentRNode(IRNode parentRNode)
          Sets the IRNode property parentRNode.
 void rSetRNSContext(RNSContext rNSContext)
          Sets the RNSContext property RNSContext.
 void setContent(IInlinemoduleMixed content)
          Sets the IInlinemoduleMixed property content.
 void setContent(IInlinemoduleMixed[] content)
          Sets the IInlinemoduleMixed property content.
 void setContent(int index, IInlinemoduleMixed content)
          Sets the IInlinemoduleMixed property content by index.
 void setContent(org.w3c.dom.Node value)
          Sets a mixed content by org.w3c.dom.Node.
 void setContent(java.lang.String value)
          Sets a mixed content by String.
 void setContentByString(java.lang.String value)
          Sets a mixed content by String.
 void setup(org.w3c.dom.Document doc)
          Initializes the Strong by the Document doc.
 void setup(org.w3c.dom.Element element)
          Initializes the Strong by the Element element.
 void setup(java.io.File file)
          Initializes the Strong by the File file.
 void setup(org.xml.sax.InputSource is)
          Initializes the Strong by the InputSource is.
 void setup(java.io.InputStream in)
          Initializes the Strong by the InputStream in.
 void setup(java.io.Reader reader)
          Initializes the Strong by the Reader reader.
 void setup(RStack stack)
          Initializes the Strong by the Stack stack that contains Elements.
 void setup(java.lang.String uri)
          Initializes the Strong by the String representation of URI uri.
 void setup(Strong source)
          Initializes the Strong by the Strong source.
 void setup(java.net.URL url)
          Initializes the Strong by the URL url.
 int sizeContent()
          Gets number of the IInlinemoduleMixed property content.
 java.lang.String toString()
          Returns a String representation of this object.
 
クラス java.lang.Object から継承したメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

Strong

public Strong()
Creates a Strong.


Strong

public Strong(Strong source)
Creates a Strong.

パラメータ:
source -

Strong

public Strong(RStack stack)
Creates a Strong by the Stack stack that contains Elements. This constructor is supposed to be used internally by the Relaxer system.

パラメータ:
stack -

Strong

public Strong(org.w3c.dom.Document doc)
Creates a Strong by the Document doc.

パラメータ:
doc -

Strong

public Strong(org.w3c.dom.Element element)
Creates a Strong by the Element element.

パラメータ:
element -

Strong

public Strong(java.io.File file)
       throws java.io.IOException,
              org.xml.sax.SAXException,
              javax.xml.parsers.ParserConfigurationException
Creates a Strong by the File file.

パラメータ:
file -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

Strong

public Strong(java.lang.String uri)
       throws java.io.IOException,
              org.xml.sax.SAXException,
              javax.xml.parsers.ParserConfigurationException
Creates a Strong by the String representation of URI uri.

パラメータ:
uri -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

Strong

public Strong(java.net.URL url)
       throws java.io.IOException,
              org.xml.sax.SAXException,
              javax.xml.parsers.ParserConfigurationException
Creates a Strong by the URL url.

パラメータ:
url -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

Strong

public Strong(java.io.InputStream in)
       throws java.io.IOException,
              org.xml.sax.SAXException,
              javax.xml.parsers.ParserConfigurationException
Creates a Strong by the InputStream in.

パラメータ:
in -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

Strong

public Strong(org.xml.sax.InputSource is)
       throws java.io.IOException,
              org.xml.sax.SAXException,
              javax.xml.parsers.ParserConfigurationException
Creates a Strong by the InputSource is.

パラメータ:
is -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

Strong

public Strong(java.io.Reader reader)
       throws java.io.IOException,
              org.xml.sax.SAXException,
              javax.xml.parsers.ParserConfigurationException
Creates a Strong by the Reader reader.

パラメータ:
reader -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
メソッドの詳細

setup

public void setup(Strong source)
Initializes the Strong by the Strong source.

パラメータ:
source -

setup

public void setup(org.w3c.dom.Document doc)
Initializes the Strong by the Document doc.

定義:
インタフェース IInlinemoduleMixedChoice 内の setup
パラメータ:
doc -

setup

public void setup(org.w3c.dom.Element element)
Initializes the Strong by the Element element.

定義:
インタフェース IInlinemoduleMixedChoice 内の setup
パラメータ:
element -

setup

public void setup(RStack stack)
Initializes the Strong by the Stack stack that contains Elements. This constructor is supposed to be used internally by the Relaxer system.

定義:
インタフェース IInlinemoduleMixed 内の setup
パラメータ:
stack -

clone

public java.lang.Object clone()
定義:
インタフェース IInlinemoduleMixed 内の clone
戻り値:
Object

makeElement

public void makeElement(org.w3c.dom.Node parent)
Creates a DOM representation of the object. Result is appended to the Node parent.

定義:
インタフェース IInlinemoduleMixed 内の makeElement
パラメータ:
parent -

setup

public void setup(java.io.File file)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the Strong by the File file.

定義:
インタフェース IInlinemoduleMixedChoice 内の setup
パラメータ:
file -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

setup

public void setup(java.lang.String uri)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the Strong by the String representation of URI uri.

定義:
インタフェース IInlinemoduleMixedChoice 内の setup
パラメータ:
uri -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

setup

public void setup(java.net.URL url)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the Strong by the URL url.

定義:
インタフェース IInlinemoduleMixedChoice 内の setup
パラメータ:
url -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

setup

public void setup(java.io.InputStream in)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the Strong by the InputStream in.

定義:
インタフェース IInlinemoduleMixedChoice 内の setup
パラメータ:
in -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

setup

public void setup(org.xml.sax.InputSource is)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the Strong by the InputSource is.

定義:
インタフェース IInlinemoduleMixedChoice 内の setup
パラメータ:
is -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

setup

public void setup(java.io.Reader reader)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  javax.xml.parsers.ParserConfigurationException
Initializes the Strong by the Reader reader.

定義:
インタフェース IInlinemoduleMixedChoice 内の setup
パラメータ:
reader -
例外:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

makeDocument

public org.w3c.dom.Document makeDocument()
                                  throws javax.xml.parsers.ParserConfigurationException
Creates a DOM document representation of the object.

定義:
インタフェース IInlinemoduleMixedChoice 内の makeDocument
戻り値:
Document
例外:
javax.xml.parsers.ParserConfigurationException

setContent

public void setContent(java.lang.String value)
Sets a mixed content by String.

パラメータ:
value -

addContent

public void addContent(java.lang.String value)
Adds a mixed content by String.

パラメータ:
value -

setContentByString

public void setContentByString(java.lang.String value)
Sets a mixed content by String.

パラメータ:
value -

addContentByString

public void addContentByString(java.lang.String value)
Adds a mixed content by String.

パラメータ:
value -

setContent

public void setContent(org.w3c.dom.Node value)
Sets a mixed content by org.w3c.dom.Node.

パラメータ:
value -

addContent

public void addContent(org.w3c.dom.Node value)
Adds a mixed content by org.w3c.dom.Node.

パラメータ:
value -

rGetRNSContext

public RNSContext rGetRNSContext()
Gets the RNSContext property RNSContext.

定義:
インタフェース IRNSContainer 内の rGetRNSContext
戻り値:
RNSContext

rSetRNSContext

public void rSetRNSContext(RNSContext rNSContext)
Sets the RNSContext property RNSContext.

定義:
インタフェース IInlinemoduleMixedChoice 内の rSetRNSContext
パラメータ:
rNSContext -

getContent

public IInlinemoduleMixed[] getContent()
Gets the IInlinemoduleMixed property content.

戻り値:
IInlinemoduleMixed[]

setContent

public void setContent(IInlinemoduleMixed[] content)
Sets the IInlinemoduleMixed property content.

パラメータ:
content -

setContent

public void setContent(IInlinemoduleMixed content)
Sets the IInlinemoduleMixed property content.

パラメータ:
content -

addContent

public void addContent(IInlinemoduleMixed content)
Adds the IInlinemoduleMixed property content.

パラメータ:
content -

addContent

public void addContent(IInlinemoduleMixed[] content)
Adds the IInlinemoduleMixed property content.

パラメータ:
content -

sizeContent

public int sizeContent()
Gets number of the IInlinemoduleMixed property content.

戻り値:
int

getContent

public IInlinemoduleMixed getContent(int index)
Gets the IInlinemoduleMixed property content by index.

パラメータ:
index -
戻り値:
IInlinemoduleMixed

setContent

public void setContent(int index,
                       IInlinemoduleMixed content)
Sets the IInlinemoduleMixed property content by index.

パラメータ:
index -
content -

addContent

public void addContent(int index,
                       IInlinemoduleMixed content)
Adds the IInlinemoduleMixed property content by index.

パラメータ:
index -
content -

removeContent

public void removeContent(int index)
Remove the IInlinemoduleMixed property content by index.

パラメータ:
index -

removeContent

public void removeContent(IInlinemoduleMixed content)
Remove the IInlinemoduleMixed property content by object.

パラメータ:
content -

clearContent

public void clearContent()
Clear the IInlinemoduleMixed property content.


rGetElement

public org.w3c.dom.Element rGetElement()
Gets the element to be used in the object construction.

定義:
インタフェース IInlinemoduleMixedChoice 内の rGetElement
戻り値:
Element

makeTextDocument

public java.lang.String makeTextDocument()
Makes an XML text representation.

定義:
インタフェース IInlinemoduleMixedChoice 内の makeTextDocument
戻り値:
String

makeTextElement

public void makeTextElement(java.lang.StringBuffer buffer)
Makes an XML text representation.

定義:
インタフェース IInlinemoduleMixed 内の makeTextElement
パラメータ:
buffer -

makeTextElement

public void makeTextElement(java.io.Writer buffer)
                     throws java.io.IOException
Makes an XML text representation.

定義:
インタフェース IInlinemoduleMixed 内の makeTextElement
パラメータ:
buffer -
例外:
java.io.IOException

makeTextElement

public void makeTextElement(java.io.PrintWriter buffer)
Makes an XML text representation.

定義:
インタフェース IInlinemoduleMixed 内の makeTextElement
パラメータ:
buffer -

makeTextAttribute

public void makeTextAttribute(java.lang.StringBuffer buffer)
Makes an XML text representation.

定義:
インタフェース IInlinemoduleMixed 内の makeTextAttribute
パラメータ:
buffer -

makeTextAttribute

public void makeTextAttribute(java.io.Writer buffer)
                       throws java.io.IOException
Makes an XML text representation.

定義:
インタフェース IInlinemoduleMixed 内の makeTextAttribute
パラメータ:
buffer -
例外:
java.io.IOException

makeTextAttribute

public void makeTextAttribute(java.io.PrintWriter buffer)
Makes an XML text representation.

定義:
インタフェース IInlinemoduleMixed 内の makeTextAttribute
パラメータ:
buffer -

toString

public java.lang.String toString()
Returns a String representation of this object. While this method informs as XML format representaion, it's purpose is just information, not making a rigid XML documentation.

定義:
インタフェース IInlinemoduleMixed 内の toString
戻り値:
String

rGetParentRNode

public IRNode rGetParentRNode()
Gets the IRNode property parentRNode.

定義:
インタフェース IRNode 内の rGetParentRNode
戻り値:
IRNode

rSetParentRNode

public void rSetParentRNode(IRNode parentRNode)
Sets the IRNode property parentRNode.

定義:
インタフェース IRNode 内の rSetParentRNode
パラメータ:
parentRNode -

rGetRNodes

public IRNode[] rGetRNodes()
Gets child RNodes.

定義:
インタフェース IRNode 内の rGetRNodes
戻り値:
IRNode[]

isMatch

public static boolean isMatch(org.w3c.dom.Element element)
Tests if a Element element is valid for the Strong.

パラメータ:
element -
戻り値:
boolean

isMatch

public static boolean isMatch(RStack stack)
Tests if elements contained in a Stack stack is valid for the Strong. This mehtod is supposed to be used internally by the Relaxer system.

パラメータ:
stack -
戻り値:
boolean

isMatchHungry

public static boolean isMatchHungry(RStack stack)
Tests if elements contained in a Stack stack is valid for the Strong. This method consumes the stack contents during matching operation. This mehtod is supposed to be used internally by the Relaxer system.

パラメータ:
stack -
戻り値:
boolean