de.mindcrimeilab.xsanalyzer.xml
Class XmlSchemaAnnotation

java.lang.Object
  extended by de.mindcrimeilab.xsanalyzer.xml.XmlSchemaAnnotation

public class XmlSchemaAnnotation
extends Object

This class represents an XML schema annotation xs:annotation child - which could be either an application info xs:appinfo or an user documentation entry xs:documentation.

Version:
$Revision: 165 $
Author:
Michael Engelhardt, $Author: agony $

Nested Class Summary
static class XmlSchemaAnnotation.Type
          Type of annotation entry.
 
Constructor Summary
XmlSchemaAnnotation()
          ctor();
XmlSchemaAnnotation(XmlSchemaAnnotation.Type type, String content)
          ctor().
 
Method Summary
 boolean equals(Object obj)
           
 String getContent()
          Returns content of this annotation entry.
 XmlSchemaAnnotation.Type getType()
          Returns type of this annotation entry.
 int hashCode()
           
 void setContent(String content)
          Sets content of this annotation entry.
 void setType(XmlSchemaAnnotation.Type type)
          Sets type of this annotation entry.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlSchemaAnnotation

public XmlSchemaAnnotation()
ctor();


XmlSchemaAnnotation

public XmlSchemaAnnotation(XmlSchemaAnnotation.Type type,
                           String content)
ctor().

Parameters:
type - of annotation entry
content - of annotation entry
Method Detail

getContent

public String getContent()
Returns content of this annotation entry.

Returns:

setContent

public void setContent(String content)
Sets content of this annotation entry.

Parameters:
content -

getType

public XmlSchemaAnnotation.Type getType()
Returns type of this annotation entry.

Returns:

setType

public void setType(XmlSchemaAnnotation.Type type)
Sets type of this annotation entry.


toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010. All Rights Reserved.