com.japisoft.xmlpad.helper
Class TagDescriptor

java.lang.Object
  extended bycom.japisoft.xmlpad.helper.TagDescriptor

public class TagDescriptor
extends java.lang.Object

Here a descriptor for tag. It is tied to a specific tag This is a container for tag name, and required attributes. Morever it contains data about the tag type : has children or not.

Version:
1.1
Author:
(c) 2003 JAPISOFT

Constructor Summary
TagDescriptor(java.lang.String name, AttDescriptor[] requiredAtt, boolean empty)
           
TagDescriptor(java.lang.String name, AttDescriptor[] requiredAtt, boolean empty, boolean raw)
           
 
Method Summary
 java.lang.String getBuiltTag()
           
 java.lang.String getName()
           
 AttDescriptor[] getRequiredAtt()
           
 boolean isEmpty()
           
 boolean isRaw()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagDescriptor

public TagDescriptor(java.lang.String name,
                     AttDescriptor[] requiredAtt,
                     boolean empty)

TagDescriptor

public TagDescriptor(java.lang.String name,
                     AttDescriptor[] requiredAtt,
                     boolean empty,
                     boolean raw)
Method Detail

getName

public java.lang.String getName()

getRequiredAtt

public AttDescriptor[] getRequiredAtt()

isEmpty

public boolean isEmpty()

isRaw

public boolean isRaw()

getBuiltTag

public java.lang.String getBuiltTag()