Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-05


oracle.olapi.metadata
Interface XML11_2_ParserCallback

All Superinterfaces:
XMLParserCallback

public interface XML11_2_ParserCallback
extends XMLParserCallback

An extension of the XMLParserCallback interface that adds methods for renaming an object and for suppressing attributes of objects.


Field Summary

 

Fields inherited from interface oracle.olapi.metadata.XMLParserCallback
DEFAULT_ERROR_BY, ERROR_BY_EXCEPTION, ERROR_BY_INVALIDATING, ERROR_BY_SET_TO_NULL

 

Method Summary
 java.lang.String renameObject(java.lang.String objectID, java.lang.String currentName, java.lang.Class objectType)
          Gets a new name for an object that is being imported by an MdmMetadataProvider.importXML method or that is being produced by a SyntaxObject.fromSyntax method of a SyntaxObject.
 boolean suppressXMLAttribute(java.lang.String objectID, java.lang.Class objectType, java.lang.String attribute, java.lang.String value)
          Indicates whether or not the XML parser should suppress an XML attribute of an object so that it does not appear in the imported XML.

 

Methods inherited from interface oracle.olapi.metadata.XMLParserCallback
processError, processSyntaxIdentifiersError, processSyntaxIdentifiersError

 

Method Detail

renameObject

java.lang.String renameObject(java.lang.String objectID,
                              java.lang.String currentName,
                              java.lang.Class objectType)
Gets a new name for an object that is being imported by an MdmMetadataProvider.importXML method or that is being produced by a SyntaxObject.fromSyntax method of a SyntaxObject.
Parameters:
objectID - A String that contains the identifier of an object.
currentName - A String that contains the current name of the object.
objectType - The Class of the type of object that the parser is processing.
Returns:
A String that contains a new name for the object.

suppressXMLAttribute

boolean suppressXMLAttribute(java.lang.String objectID,
                             java.lang.Class objectType,
                             java.lang.String attribute,
                             java.lang.String value)
Indicates whether or not the XML parser should suppress an XML attribute of an object so that it does not appear in the imported XML. XML attributes are strings such as ETViewName, ETKeyColumnName, and TablespaceName.
Parameters:
objectID - A String that contains the identifier of the BaseMetadataObject that the parser is processing.
objectType - The Class of the BaseMetadataObject being parsed.
attribute - A String that contains the XML attribute being parsed.
value - A String that contains the value of the attribute being parsed.
Returns:
A boolean that is true if you want the XML parser to suppress the attribute or false if you do not want the attribute suppressed.

Skip navigation links

Copyright © 2002, 2010, Oracle. All rights reserved.