org.backsource.utils.xml
Class CatalogEntry

java.lang.Object
  extended byorg.backsource.utils.xml.CatalogEntry

public class CatalogEntry
extends java.lang.Object

A simple wrapper to make it easier to create CatalogEntry entries programatically.

Version:
$Revision: 1.1.1.1 $
Author:
Peter Antman

Nested Class Summary
static class CatalogEntry.CatalogEntryType
           
 
Field Summary
static CatalogEntry.CatalogEntryType PUBLIC
           
static CatalogEntry.CatalogEntryType REWRITE_SYSTEM
           
static CatalogEntry.CatalogEntryType REWRITE_URI
           
static CatalogEntry.CatalogEntryType SYSTEM
           
static CatalogEntry.CatalogEntryType URI
           
 
Constructor Summary
protected CatalogEntry(CatalogEntry.CatalogEntryType type, java.lang.String id, java.lang.String alternative)
           
 
Method Summary
 org.apache.xml.resolver.CatalogEntry getEntry()
           
static CatalogEntry getPublicEntry(java.lang.String publicId, java.lang.String uri)
           
static CatalogEntry getRewriteSystemEntry(java.lang.String systemIdStartString, java.lang.String rewritePrefix)
           
static CatalogEntry getRewriteUriEntry(java.lang.String uriStartString, java.lang.String rewritePrefix)
           
static CatalogEntry getSystemEntry(java.lang.String systemId, java.lang.String uri)
           
 CatalogEntry.CatalogEntryType getType()
           
static CatalogEntry getUriEntry(java.lang.String name, java.lang.String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PUBLIC

public static final CatalogEntry.CatalogEntryType PUBLIC

SYSTEM

public static final CatalogEntry.CatalogEntryType SYSTEM

REWRITE_SYSTEM

public static final CatalogEntry.CatalogEntryType REWRITE_SYSTEM

URI

public static final CatalogEntry.CatalogEntryType URI

REWRITE_URI

public static final CatalogEntry.CatalogEntryType REWRITE_URI
Constructor Detail

CatalogEntry

protected CatalogEntry(CatalogEntry.CatalogEntryType type,
                       java.lang.String id,
                       java.lang.String alternative)
                throws org.apache.xml.resolver.CatalogException
Method Detail

getPublicEntry

public static CatalogEntry getPublicEntry(java.lang.String publicId,
                                          java.lang.String uri)
                                   throws org.apache.xml.resolver.CatalogException
Throws:
org.apache.xml.resolver.CatalogException

getSystemEntry

public static CatalogEntry getSystemEntry(java.lang.String systemId,
                                          java.lang.String uri)
                                   throws org.apache.xml.resolver.CatalogException
Throws:
org.apache.xml.resolver.CatalogException

getRewriteSystemEntry

public static CatalogEntry getRewriteSystemEntry(java.lang.String systemIdStartString,
                                                 java.lang.String rewritePrefix)
                                          throws org.apache.xml.resolver.CatalogException
Throws:
org.apache.xml.resolver.CatalogException

getUriEntry

public static CatalogEntry getUriEntry(java.lang.String name,
                                       java.lang.String uri)
                                throws org.apache.xml.resolver.CatalogException
Throws:
org.apache.xml.resolver.CatalogException

getRewriteUriEntry

public static CatalogEntry getRewriteUriEntry(java.lang.String uriStartString,
                                              java.lang.String rewritePrefix)
                                       throws org.apache.xml.resolver.CatalogException
Throws:
org.apache.xml.resolver.CatalogException

getType

public CatalogEntry.CatalogEntryType getType()

getEntry

public org.apache.xml.resolver.CatalogEntry getEntry()


Copyright © 2000-2004 Backsource. All Rights Reserved.