Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## es.upm.gib.mappingAPI2
Class MappingParser

    java.lang.Object
      org.xml.sax.helpers.DefaultHandler
          es.upm.gib.mappingAPI2.MappingParser

All Implemented Interfaces:
  org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

    public class MappingParser

extends org.xml.sax.helpers.DefaultHandler

Created by IntelliJ IDEA. User: Ana Escrich Date: 11/05/12 Time: 13:41 To change this template use File | Settings | File Templates.

Constructor Summary
`MappingParser()`

Method Summary
`void` | `characters(char[] text, int start, int length)`
`void` | `endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)`
`java.util.Vector<java.lang.String>` | `getConditions()`
`java.lang.String` | `getCTP()`
`java.lang.String` | `getDB()`
`java.lang.String` | `getdescription()`
`java.lang.String` | `getExtAtt(org.xml.sax.Attributes atts)`
`java.lang.String` | `getIdAtt(org.xml.sax.Attributes atts)`
`java.lang.String` | `getIntAtt(org.xml.sax.Attributes atts)`
`java.util.List<Entry>` | `getLoadedMapping()` this method returns the produced representation, after a parsing
`java.lang.String` | `getPTC()`
`java.lang.String` | `getResAtt(org.xml.sax.Attributes atts)`
`java.lang.String` | `getServiceDN()`
`boolean` | `getVirtualExtAtt(org.xml.sax.Attributes atts)`
`java.lang.String` | `getWrapper()`
`void` | `insertComposition(java.lang.String ex, boolean virtualEx)`
`void` | `insertCorrespondence(java.lang.String in)`
`void` | `insertIdentifier(java.lang.String id)`
`void` | `insertRestriction(java.lang.String re)`
`void` | `startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String qualifiedName, org.xml.sax.Attributes atts)`

Methods inherited from class org.xml.sax.helpers.DefaultHandler
`endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MappingParser

    public MappingParser()

Method Detail

### getIntAtt

    public java.lang.String getIntAtt(org.xml.sax.Attributes atts)

### getExtAtt

    public java.lang.String getExtAtt(org.xml.sax.Attributes atts)

### getVirtualExtAtt

    public boolean getVirtualExtAtt(org.xml.sax.Attributes atts)

### getResAtt

    public java.lang.String getResAtt(org.xml.sax.Attributes atts)

### getIdAtt

    public java.lang.String getIdAtt(org.xml.sax.Attributes atts)

### insertCorrespondence

    public void insertCorrespondence(java.lang.String in)

### insertComposition

    public void insertComposition(java.lang.String ex,
                                  boolean virtualEx)

### insertRestriction

    public void insertRestriction(java.lang.String re)

### insertIdentifier

    public void insertIdentifier(java.lang.String id)

### startElement

    public void startElement(java.lang.String namespaceURI,
                             java.lang.String localName,
                             java.lang.String qualifiedName,
                             org.xml.sax.Attributes atts)

  Specified by:
    `startElement` in interface `org.xml.sax.ContentHandler`
  Overrides:
    `startElement` in class `org.xml.sax.helpers.DefaultHandler`

### characters

    public void characters(char[] text,
                           int start,
                           int length)
                    throws org.xml.sax.SAXException

  Specified by:
    `characters` in interface `org.xml.sax.ContentHandler`
  Overrides:
    `characters` in class `org.xml.sax.helpers.DefaultHandler`
  Throws:
    `org.xml.sax.SAXException`

### getWrapper

    public java.lang.String getWrapper()

### getDB

    public java.lang.String getDB()

### getdescription

    public java.lang.String getdescription()

### getServiceDN

    public java.lang.String getServiceDN()

### getCTP

    public java.lang.String getCTP()

### getConditions

    public java.util.Vector<java.lang.String> getConditions()

### getPTC

    public java.lang.String getPTC()

### endElement

    public void endElement(java.lang.String uri,
                           java.lang.String localName,
                           java.lang.String qName)
                    throws org.xml.sax.SAXException

  Specified by:
    `endElement` in interface `org.xml.sax.ContentHandler`
  Overrides:
    `endElement` in class `org.xml.sax.helpers.DefaultHandler`
  Throws:
    `org.xml.sax.SAXException`

### getLoadedMapping

    public java.util.List<Entry> getLoadedMapping()

  this method returns the produced representation, after a parsing

  Returns:
    teh representation of the XML file as a Vector

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD