org.apache.sling.commons.osgi
Class ManifestHeader.PathImpl

java.lang.Object
  extended by org.apache.sling.commons.osgi.ManifestHeader.PathImpl
All Implemented Interfaces:
ManifestHeader.Entry
Enclosing class:
ManifestHeader

protected static final class ManifestHeader.PathImpl
extends java.lang.Object
implements ManifestHeader.Entry


Constructor Summary
ManifestHeader.PathImpl(java.lang.String path)
           
 
Method Summary
 ManifestHeader.NameValuePair[] getAttributes()
          The attributes specified for this entry.
 java.lang.String getAttributeValue(java.lang.String name)
           
 ManifestHeader.NameValuePair[] getDirectives()
          The directives for this entry.
 java.lang.String getDirectiveValue(java.lang.String name)
           
 java.lang.String getValue()
          The value of the entry.
 void init(ManifestHeader.NameValuePair[] dirs, ManifestHeader.NameValuePair[] attrs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManifestHeader.PathImpl

public ManifestHeader.PathImpl(java.lang.String path)
Method Detail

init

public void init(ManifestHeader.NameValuePair[] dirs,
                 ManifestHeader.NameValuePair[] attrs)

getAttributes

public ManifestHeader.NameValuePair[] getAttributes()
Description copied from interface: ManifestHeader.Entry
The attributes specified for this entry.

Specified by:
getAttributes in interface ManifestHeader.Entry
See Also:
ManifestHeader.Entry.getAttributes()

getDirectives

public ManifestHeader.NameValuePair[] getDirectives()
Description copied from interface: ManifestHeader.Entry
The directives for this entry.

Specified by:
getDirectives in interface ManifestHeader.Entry
See Also:
ManifestHeader.Entry.getDirectives()

getValue

public java.lang.String getValue()
Description copied from interface: ManifestHeader.Entry
The value of the entry.

Specified by:
getValue in interface ManifestHeader.Entry
See Also:
ManifestHeader.Entry.getValue()

getAttributeValue

public java.lang.String getAttributeValue(java.lang.String name)
Specified by:
getAttributeValue in interface ManifestHeader.Entry

getDirectiveValue

public java.lang.String getDirectiveValue(java.lang.String name)
Specified by:
getDirectiveValue in interface ManifestHeader.Entry


Copyright © 2007-2009. All Rights Reserved.