DTDLocation (Apache Ant API)
Keywords: org.apache.tools.ant.types.DTDLocation class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.ant.types
Class DTDLocation

    java.lang.Object
      org.apache.tools.ant.types.DTDLocation

Direct Known Subclasses:
  EjbJar.DTDLocation

public class DTDLocation
extends java.lang.Object

Helper class to handle the DTD and Entity nested elements.

Author:
  Conor MacNeill, dIon Gillard

Constructor Summary
`DTDLocation()`

Method Summary
`java.lang.String` | `getLocation()`
`java.lang.String` | `getPublicId()`
`void` | `setLocation(java.lang.String location)`
`void` | `setPublicId(java.lang.String publicId)`

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

Constructor Detail

### DTDLocation

    public DTDLocation()

Method Detail

### setPublicId

    public void setPublicId(java.lang.String publicId)

  Parameters:
    `publicId` - uniquely identifies the resource

### setLocation

    public void setLocation(java.lang.String location)

  Parameters:
    `location` - the location of the resource associated with the publicId

### getPublicId

    public java.lang.String getPublicId()

  Returns:
    the publicId

### getLocation

    public java.lang.String getLocation()

  Returns:
    the location of the resource identified by the publicId

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.