- java.lang.Object
-
- com.sun.xml.ws.db.sdo.SchemaInfo
-
public class SchemaInfo extends Object
A SchemaInfo object contains the information of a XML Schema document.- Author:
- SHIH-CHANG.CHEN@ORACLE.COM
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanimportedprotected booleanincludedprotected ElementschemaElementprotected StringschemaLocationprotected SourceschemaSourceprotected StringsystemIDprotected StringtargetNamespace
-
Constructor Summary
Constructors Constructor Description SchemaInfo(String systemID, String targetNamespace, Source schema)SchemaInfo(String systemID, String targetNamespace, Element schema)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementgetSchemaElement()StringgetSchemaLocation()Gets the schemaLocation of this SchemaInfoSourcegetSchemaSource()Gets the schemaSource of this SchemaInfoStringgetSystemID()Gets the systemID of this SchemaInfoStringgetTargetNamespace()Gets the targetNamespace of this SchemaInfobooleanisImported()Gets the imported of this SchemaInfobooleanisIncluded()Gets the included of this SchemaInfovoidsetImported(boolean imported)Sets the imported of this SchemaInfovoidsetIncluded(boolean included)Sets the included of this SchemaInfovoidsetSchemaElement(Element schemaElement)voidsetSchemaLocation(String schemaLocation)Sets the schemaLocation of this SchemaInfovoidsetSchemaSource(Source schemaSource)Sets the schemaSource of this SchemaInfovoidsetSystemID(String systemID)Sets the systemID of this SchemaInfovoidsetTargetNamespace(String targetNamespace)Sets the targetNamespace of this SchemaInfo
-
-
-
Field Detail
-
systemID
protected String systemID
-
targetNamespace
protected String targetNamespace
-
imported
protected boolean imported
-
included
protected boolean included
-
schemaLocation
protected String schemaLocation
-
schemaSource
protected Source schemaSource
-
schemaElement
protected Element schemaElement
-
-
Method Detail
-
getSystemID
public String getSystemID()
Gets the systemID of this SchemaInfo- Returns:
- the systemID
-
setSystemID
public void setSystemID(String systemID)
Sets the systemID of this SchemaInfo- Parameters:
systemID- the systemID to set
-
getTargetNamespace
public String getTargetNamespace()
Gets the targetNamespace of this SchemaInfo- Returns:
- the targetNamespace
-
setTargetNamespace
public void setTargetNamespace(String targetNamespace)
Sets the targetNamespace of this SchemaInfo- Parameters:
targetNamespace- the targetNamespace to set
-
isImported
public boolean isImported()
Gets the imported of this SchemaInfo- Returns:
- the imported
-
setImported
public void setImported(boolean imported)
Sets the imported of this SchemaInfo- Parameters:
imported- the imported to set
-
isIncluded
public boolean isIncluded()
Gets the included of this SchemaInfo- Returns:
- the included
-
setIncluded
public void setIncluded(boolean included)
Sets the included of this SchemaInfo- Parameters:
included- the included to set
-
getSchemaLocation
public String getSchemaLocation()
Gets the schemaLocation of this SchemaInfo- Returns:
- the schemaLocation
-
setSchemaLocation
public void setSchemaLocation(String schemaLocation)
Sets the schemaLocation of this SchemaInfo- Parameters:
schemaLocation- the schemaLocation to set
-
getSchemaSource
public Source getSchemaSource()
Gets the schemaSource of this SchemaInfo- Returns:
- the schemaSource
-
setSchemaSource
public void setSchemaSource(Source schemaSource)
Sets the schemaSource of this SchemaInfo- Parameters:
schemaSource- the schemaSource to set
-
getSchemaElement
public Element getSchemaElement()
-
setSchemaElement
public void setSchemaElement(Element schemaElement)
-
-